Tabulka 77.3. Operační kódy instrukcí Micro 16V řazené podle operačního kódu
název instrukce | mnemo | strojový kód | popis | |||
---|---|---|---|---|---|---|
bin | octal | dec | hexa | |||
not | NOT | 0 000 000 000 000 000 | 000000 | 0 | 0000 | Do Nothing Instruction |
cry | CRY | 0 000 000 000 000 001 | 000001 | 1 | 0001 | Read Carry Instruction |
swb | SWB | 0 000 000 000 000 010 | 000002 | 2 | 0002 | Get Switchbank Register |
hlt | HLT | 0 000 000 000 100 000 | 000040 | 32 | 0020 | Halt Instruction |
fin | FIN | 0 000 000 000 111 000 | 000070 | 56 | 0038 | Forbid interrupts |
cru | CRU | 0 000 000 001 000 000 | 000100 | 64 | 0040 | Unset Carry Register |
cla | CLA | 0 000 000 001 010 000 | 000120 | 80 | 0050 | Zeroise Accumulator |
crs | CRS | 0 000 000 010 000 000 | 000200 | 128 | 0080 | Set Carry Register |
lkj | LKJ a | 0 000 000 100 000 000 | 000400 | 256 | 0100 | Link Jump |
shr | SHR c | 0 000 001 000 00c ccc | 0010cc | 512 | 0200 | Shift Right |
rci | RCI c | 0 000 001 000 1cc ccc | 001040 | 544 | 0220 | Right Circulate Invert |
oca | OCA | 0 000 001 000 110 000 | 001060 | 560 | 0230 | Ones Complement Accumulator |
tca | TCA | 0 000 001 000 110 001 | 001061 | 561 | 0231 | Twos Complement Accumulator |
cir | CIR c | 0 000 001 001 0cc ccc | 001100 | 576 | 0240 | Circulate Right |
rss | RSS c | 0 000 001 010 ccc ccc | 001200 | 640 | 0280 | Arithmetic Shift Right |
shl | SHL c | 0 000 001 011 ccc ccc | 001300 | 704 | 02c0 | Shift Left |
rsc | RSC c | 0 000 001 100 ccc ccc | 001400 | 768 | 0300 | Right Shift Carry |
nca | NCA | 0 000 001 100 010 000 | 001420 | 784 | 0310 | Negate Carry Instruction |
reo | REO | 0 000 100 000 xxx xxx | 004000 | 2048 | 0800 | Read Character Or |
rso | RSO | 0 000 100 001 xxx xxx | 004100 | 2112 | 0840 | Reader OR and Reader Start |
sri | SRI | 0 000 100 001 xxx xxx | 004100 | 2112 | 0840 | Skip if RI not set |
prt | PRT | 0 000 100 011 xxx xxx | 004300 | 2240 | 08c0 | Print/Punch |
eci | ECI | 0 000 100 100 111 111 | 004477 | 2367 | 093f | Twos Complement Accumulator |
red | RED | 0 000 101 000 xxx xxx | 005000 | 2560 | 0a00 | Read Character |
rst | RST | 0 000 101 001 xxx xxx | 005100 | 2624 | 0a40 | Read and Reader Start |
kbd | KBD | 0 000 101 010 xxx xxx | 005200 | 2688 | 0a80 | Get Keyboard Character |
skb | SKB | 0 000 111 010 xxx xxx | 007200 | 3712 | 0e80 | Skip if Keaboard not Bussy |
srb | SRB | 0 000 111 100 xxx xxx | 007400 | 3840 | 0f00 | Skip if Reader is not Busy |
inc | INC a | 0 001 nnn nnn nnn nnn | 010000 | 4096 | 1000 | Increment Store and Test |
jpu | JPU a | 0 010 nnn nnn nnn nnn | 020000 | 8192 | 2000 | Unconditional Jump |
jpz | JPZ a | 0 011 nnn nnn nnn nnn | 030000 | 12288 | 3000 | Jump if Zero |
get | GET a | 0 100 nnn nnn nnn nnn | 040000 | 16384 | 4000 | Get |
sto | STO a | 0 101 nnn nnn nnn nnn | 050000 | 20480 | 5000 | Copy Accumulator into Store |
gti | GTI a | 0 110 nnn nnn nnn nnn | 060000 | 24576 | 6000 | Indirect Get |
sti | STI a | 0 111 nnn nnn nnn nnn | 070000 | 28672 | 7000 | Indirect Store |
and | AND a | 1 000 nnn nnn nnn nnn | 100000 | 32768 | 8000 | Logical AND |
dec | DEC a | 1 001 nnn nnn nnn nnn | 110000 | 36864 | 9000 | Decrement Store and Test |
jps | JPS a | 1 010 nnn nnn nnn nnn | 120000 | 40960 | a000 | Jump to a Subroutine |
jpn | JPN a | 1 011 nnn nnn nnn nnn | 130000 | 45056 | b000 | Jump if Negative |
add | ADD a | 1 100 nnn nnn nnn nnn | 140000 | 49152 | c000 | Addition |
sub | SUB a | 1 101 nnn nnn nnn nnn | 150000 | 53248 | d000 | Subtraction |
adi | ADI a | 1 110 nnn nnn nnn nnn | 160000 | 57344 | e000 | Indirect Add |
jsi | JSI a | 1 111 nnn nnn nnn nnn | 170000 | 61440 | f000 | Indirect Jump to a Subroutine |