R
Chapter 3: PicoBlaze Instruction Set
Table 3-1: PicoBlaze Instruction Set (alphabetical listing)
Instruction | Description | Function | ZERO | CARRY |
|
|
|
|
|
TEST sX, kk | Test bits in register sX against literal kk. | If (sX AND kk) = 0, ZERO Å 1 | ? | ? |
| Update CARRY and ZERO flags. Registers | CARRY Å odd parity of (sX |
|
|
| are unaffected. |
|
| |
| AND kk) |
|
| |
|
|
|
| |
|
|
|
|
|
TEST sX, sY | Test bits in register sX against register sX. | If (sX AND sY) = 0, ZERO Å 1 | ? | ? |
| Update CARRY and ZERO flags. Registers | CARRY Å odd parity of (sX |
|
|
| are unaffected. |
|
| |
| AND kk) |
|
| |
|
|
|
| |
|
|
|
|
|
XOR sX, kk | Bitwise XOR register sX with literal kk | sX Å sX XOR kk | ? | 0 |
|
|
|
|
|
XOR sX, sY | Bitwise XOR register sX with register sY | sX Å sX XOR sY | ? | 0 |
|
|
|
|
|
sX = One of 16 possible register locations ranging from s0 through sF or specified as a literal sY = One of 16 possible register locations ranging from s0 through sF or specified as a literal
aaa=
kk=
pp=
ss=
RAM[n] = Contents of scratchpad RAM at location n
TOS = Value stored at Top Of Stack
Address Spaces
As shown in Table
Specific instructions operate on each of the address spaces.
22 | www.xilinx.com | PicoBlaze |
|
| UG129 (v1.1.2) June 24, 2008 |