_0 | _1 | _2 | _3 | _4 | _5 | _6 | _7 | _8 | _9 | _a | _b | _c | _d | _e | _f | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0_ | add x, r +^ Opcode: 00 Words: 1 Cycles: 5 Clobbers: flags,y Microcode: IOH AI MO YI XI X+Y Add r to x. |
add x, i16 +^ Opcode: 01 Words: 2 Cycles: 5 Clobbers: flags,y Microcode: PO AI MO YI P+ XI X+Y Add i16 to x. |
add x, (i16) +^ Opcode: 02 Words: 2 Cycles: 6 Clobbers: flags,y Microcode: PO AI MO AI P+ MO YI XI X+Y Add the value in (i16) to x. |
add x, (r) +^ Opcode: 03 Words: 1 Cycles: 6 Clobbers: flags,y Microcode: IOH AI MO AI MO YI XI X+Y Add the value in (r) to x. |
add x, (r++) +^ Opcode: 04 Words: 1 Cycles: 8 Clobbers: flags,y Microcode: IOH AI MO YI Y+1 MI YO AI MO YI XI X+Y Add the value in (r) to x. Post-increment r. |
add x, (r--) +^ Opcode: 05 Words: 1 Cycles: 8 Clobbers: flags,y Microcode: IOH AI MO YI Y-1 MI YO AI MO YI XI X+Y Add the value in (r) to x. Post-decrement r. |
add x, i8l +^ Opcode: 06 Words: 1 Cycles: 4 Clobbers: flags,y Microcode: IOL YI XI X+Y Add i8l to x. |
add x, i8h +^ Opcode: 07 Words: 1 Cycles: 4 Clobbers: flags,y Microcode: IOH YI XI X+Y Add i8h to x. |
add r, x +^ Opcode: 08 Words: 1 Cycles: 5 Clobbers: flags,y Microcode: IOH AI MO YI MI Y+X Add x to r. |
add (i16), x +^ Opcode: 09 Words: 2 Cycles: 6 Clobbers: flags,y Microcode: PO AI MO AI P+ MO YI MI Y+X Add x to the value in (i16). |
add (i16), i8l +!^ Opcode: 0a Words: 2 Cycles: 7 Clobbers: flags,x,y Microcode: PO AI MO AI P+ MO XI IOL YI MI X+Y Add i8l to the value in (i16). |
add (r), x +^ Opcode: 0b Words: 1 Cycles: 6 Clobbers: flags,y Microcode: IOH AI MO AI MO YI MI Y+X Add x to the value in (r). |
add r, i16 +!^ Opcode: 0c Words: 2 Cycles: 7 Clobbers: flags,x,y Microcode: PO AI MO YI P+ IOH AI MO XI MI Y+X Add i16 to the value in r. |
add (r), i16 +!^ Opcode: 0d Words: 2 Cycles: 8 Clobbers: flags,x,y Microcode: PO AI MO XI P+ IOH AI MO AI MO YI MI Y+X Add i16 to the value in (r). |
add r, (i16) +!^ Opcode: 0e Words: 2 Cycles: 8 Clobbers: flags,x,y Microcode: PO AI MO AI MO XI P+ IOH AI MO YI MI Y+X Add (i16) to the value in r. |
add y, i8l +! Opcode: 0f Words: 1 Cycles: 4 Clobbers: flags,x Microcode: IOL XI YI X+Y Add i8l to y. |
1_ | sub x, r +^ Opcode: 10 Words: 1 Cycles: 5 Clobbers: flags,y Microcode: IOH AI MO YI XI X-Y Subtract r from x. |
sub x, i16 +^ Opcode: 11 Words: 2 Cycles: 5 Clobbers: flags,y Microcode: PO AI MO YI P+ XI X-Y Subtract i16 from x. |
sub x, (i16) +^ Opcode: 12 Words: 2 Cycles: 6 Clobbers: flags,y Microcode: PO AI MO AI P+ MO YI XI X-Y Subtract the value in (i16) from x. |
sub x, (r) +^ Opcode: 13 Words: 1 Cycles: 6 Clobbers: flags,y Microcode: IOH AI MO AI MO YI XI X-Y Subtract the value in (r) from x. |
sub x, (r++) +^ Opcode: 14 Words: 1 Cycles: 8 Clobbers: flags,y Microcode: IOH AI MO YI Y+1 MI YO AI MO YI XI X-Y Subtract the value in (r) from x. Post-increment r. |
sub x, (r--) +^ Opcode: 15 Words: 1 Cycles: 8 Clobbers: flags,y Microcode: IOH AI MO YI Y-1 MI YO AI MO YI XI X-Y Subtract the value in (r) from x. Post-decrement r. |
sub x, i8l +^ Opcode: 16 Words: 1 Cycles: 4 Clobbers: flags,y Microcode: IOL YI XI X-Y Subtract i8l from x. |
sub x, i8h +^ Opcode: 17 Words: 1 Cycles: 4 Clobbers: flags,y Microcode: IOH YI XI X-Y Subtract i8h from x. |
sub r, x +^ Opcode: 18 Words: 1 Cycles: 5 Clobbers: flags,y Microcode: IOH AI MO YI MI Y-X Subtract x from r. |
sub (i16), x +^ Opcode: 19 Words: 2 Cycles: 6 Clobbers: flags,y Microcode: PO AI MO AI P+ MO YI MI Y-X Subtract x from the value in (i16). |
sub (i16), i8l +!^ Opcode: 1a Words: 2 Cycles: 7 Clobbers: flags,x,y Microcode: PO AI MO AI P+ MO XI IOL YI MI X-Y Subtract i8l from the value in (i16). |
sub (r), x +^ Opcode: 1b Words: 1 Cycles: 6 Clobbers: flags,y Microcode: IOH AI MO AI MO YI MI Y-X Subtract x from the value in (r). |
sub r, i16 +!^ Opcode: 1c Words: 2 Cycles: 7 Clobbers: flags,x,y Microcode: PO AI MO YI P+ IOH AI MO XI MI Y-X Subtract i16 from r. |
sub (r), i16 +!^ Opcode: 1d Words: 2 Cycles: 8 Clobbers: flags,x,y Microcode: PO AI MO XI P+ IOH AI MO AI MO YI MI Y-X Subtract i16 from the value in (r). |
sub r, (i16) +!^ Opcode: 1e Words: 2 Cycles: 8 Clobbers: flags,x,y Microcode: PO AI MO AI MO XI P+ IOH AI MO YI MI Y-X Subtract the value in (i16) from r. |
call (i16) +*^ Opcode: 1f Words: 2 Cycles: 8 Clobbers: flags,r254,y Microcode: -2 AI PO YI Y+1 MI PO AI MO AI MO JMP Set r254 to the return address. Jump to (i16). |
2_ | cmp x, r +^ Opcode: 20 Words: 1 Cycles: 5 Clobbers: flags,y Microcode: IOH AI MO YI X-Y Set flags from subtracting r from x. |
cmp x, i16 +^ Opcode: 21 Words: 2 Cycles: 5 Clobbers: flags,y Microcode: PO AI MO YI P+ X-Y Set flags from subtracting i16 from x. |
cmp x, (i16) +^ Opcode: 22 Words: 2 Cycles: 6 Clobbers: flags,y Microcode: PO AI MO AI P+ MO YI X-Y Set flags from subtracting the value in (i16) from x. |
cmp x, (r) +^ Opcode: 23 Words: 1 Cycles: 6 Clobbers: flags,y Microcode: IOH AI MO AI MO YI X-Y Set flags from subtracting the value in (r) from x. |
cmp x, (r++) +^ Opcode: 24 Words: 1 Cycles: 8 Clobbers: flags,y Microcode: IOH AI MO YI Y+1 MI YO AI MO YI X-Y Set flags from subtracting the value in (r) from x. Post-increment r. |
cmp x, (r--) +^ Opcode: 25 Words: 1 Cycles: 8 Clobbers: flags,y Microcode: IOH AI MO YI Y-1 MI YO AI MO YI X-Y Set flags from subtracting the value in (r) from x. Post-decrement r. |
cmp x, i8l +^ Opcode: 26 Words: 1 Cycles: 4 Clobbers: flags,y Microcode: IOL YI X-Y Set flags from subtracting i8l from x. |
cmp x, i8h +^ Opcode: 27 Words: 1 Cycles: 4 Clobbers: flags,y Microcode: IOH YI X-Y Set flags from subtracting i8h from x. |
cmp r, x +^ Opcode: 28 Words: 1 Cycles: 5 Clobbers: flags,y Microcode: IOH AI MO YI Y-X Set flags from subtracting x from r. |
cmp (i16), x +^ Opcode: 29 Words: 2 Cycles: 6 Clobbers: flags,y Microcode: PO AI MO AI P+ MO YI Y-X Set flags from subtracting x from the value in (i16). |
cmp (i16), i8l +!^ Opcode: 2a Words: 2 Cycles: 7 Clobbers: flags,x,y Microcode: PO AI MO AI P+ MO XI IOL YI X-Y Set flags from subtracting i8l from the value in (i16). |
cmp (r), x +^ Opcode: 2b Words: 1 Cycles: 6 Clobbers: flags,y Microcode: IOH AI MO AI MO YI Y-X Set flags from subtracting x from the value in (r). |
cmp r, i16 +!^ Opcode: 2c Words: 2 Cycles: 7 Clobbers: flags,x,y Microcode: PO AI MO YI P+ IOH AI MO XI Y-X Set flags from subtracting i16 from r. |
cmp (r), i16 +!^ Opcode: 2d Words: 2 Cycles: 8 Clobbers: flags,x,y Microcode: PO AI MO XI P+ IOH AI MO AI MO YI Y-X Set flags from subtracting i16 from the value in (r). |
cmp r, (i16) +!^ Opcode: 2e Words: 2 Cycles: 8 Clobbers: flags,x,y Microcode: PO AI MO AI MO XI P+ IOH AI MO YI Y-X Set flags from subtracting the value in (i16) from r. |
call x +* Opcode: 2f Words: 1 Cycles: 5 Clobbers: flags,r254 Microcode: -2 AI PO MI XO JMP Set r254 to the return address. Jump to x. |
3_ | and x, r +^ Opcode: 30 Words: 1 Cycles: 5 Clobbers: flags,y Microcode: IOH AI MO YI XI X&Y AND r with x. |
and x, i16 +^ Opcode: 31 Words: 2 Cycles: 5 Clobbers: flags,y Microcode: PO AI MO YI P+ XI X&Y AND i16 with x. |
and x, (i16) +^ Opcode: 32 Words: 2 Cycles: 6 Clobbers: flags,y Microcode: PO AI MO AI P+ MO YI XI X&Y AND the value in (i16) with x. |
and x, (r) +^ Opcode: 33 Words: 1 Cycles: 6 Clobbers: flags,y Microcode: IOH AI MO AI MO YI XI X&Y AND the value in (r) with x. |
and x, (r++) +^ Opcode: 34 Words: 1 Cycles: 8 Clobbers: flags,y Microcode: IOH AI MO YI Y+1 MI YO AI MO YI XI X&Y AND the value in (r) with x. Post-increment r. |
and x, (r--) +^ Opcode: 35 Words: 1 Cycles: 8 Clobbers: flags,y Microcode: IOH AI MO YI Y-1 MI YO AI MO YI XI X&Y AND the value in (r) with x. Post-decrement r. |
and x, i8l +^ Opcode: 36 Words: 1 Cycles: 4 Clobbers: flags,y Microcode: IOL YI XI X&Y AND i8l with x. |
and x, i8h +^ Opcode: 37 Words: 1 Cycles: 4 Clobbers: flags,y Microcode: IOH YI XI X&Y AND i8h with x. |
and r, x +^ Opcode: 38 Words: 1 Cycles: 5 Clobbers: flags,y Microcode: IOH AI MO YI MI Y&X AND x with r. |
and (i16), x +^ Opcode: 39 Words: 2 Cycles: 6 Clobbers: flags,y Microcode: PO AI MO AI P+ MO YI MI Y&X AND x with the value in (i16). |
and (i16), i8l +!^ Opcode: 3a Words: 2 Cycles: 7 Clobbers: flags,x,y Microcode: PO AI MO AI P+ MO XI IOL YI MI X&Y AND i8l with the value in (i16). |
and (r), x +^ Opcode: 3b Words: 1 Cycles: 6 Clobbers: flags,y Microcode: IOH AI MO AI MO YI MI Y&X AND x with the value in (r). |
and r, i16 +!^ Opcode: 3c Words: 2 Cycles: 7 Clobbers: flags,x,y Microcode: PO AI MO YI P+ IOH AI MO XI MI Y&X AND i16 with the value in r. |
and (r), i16 +!^ Opcode: 3d Words: 2 Cycles: 8 Clobbers: flags,x,y Microcode: PO AI MO XI P+ IOH AI MO AI MO YI MI Y&X AND i16 with the value in (r). |
and r, (i16) +!^ Opcode: 3e Words: 2 Cycles: 8 Clobbers: flags,x,y Microcode: PO AI MO AI MO XI P+ IOH AI MO YI MI Y&X AND the value in (i16) with r. |
call (x) +* Opcode: 3f Words: 1 Cycles: 6 Clobbers: flags,r254 Microcode: -2 AI PO MI XO AI MO JMP Set r254 to the return address. Jump to (x). |
4_ | or x, r +^ Opcode: 40 Words: 1 Cycles: 5 Clobbers: flags,y Microcode: IOH AI MO YI XI X|Y OR r into x. |
or x, i16 +^ Opcode: 41 Words: 2 Cycles: 5 Clobbers: flags,y Microcode: PO AI MO YI P+ XI X|Y OR i16 into x. |
or x, (i16) +^ Opcode: 42 Words: 2 Cycles: 6 Clobbers: flags,y Microcode: PO AI MO AI P+ MO YI XI X|Y OR the value in (i16) into x. |
or x, (r) +^ Opcode: 43 Words: 1 Cycles: 6 Clobbers: flags,y Microcode: IOH AI MO AI MO YI XI X|Y OR the value in r into x. |
or x, (r++) +^ Opcode: 44 Words: 1 Cycles: 8 Clobbers: flags,y Microcode: IOH AI MO YI Y+1 MI YO AI MO YI XI X|Y OR the value in r into x. Post-increment r. |
or x, (r--) +^ Opcode: 45 Words: 1 Cycles: 8 Clobbers: flags,y Microcode: IOH AI MO YI Y-1 MI YO AI MO YI XI X|Y OR the value in r into x. Post-decrement r. |
or x, i8l +^ Opcode: 46 Words: 1 Cycles: 4 Clobbers: flags,y Microcode: IOL YI XI X|Y OR i8l into x. |
or x, i8h +^ Opcode: 47 Words: 1 Cycles: 4 Clobbers: flags,y Microcode: IOH YI XI X|Y OR i8h into x. |
or r, x +^ Opcode: 48 Words: 1 Cycles: 5 Clobbers: flags,y Microcode: IOH AI MO YI MI Y|X OR x into r. |
or (i16), x +^ Opcode: 49 Words: 2 Cycles: 6 Clobbers: flags,y Microcode: PO AI MO AI P+ MO YI MI Y|X OR x into the value in (i16). |
or (i16), i8l +!^ Opcode: 4a Words: 2 Cycles: 7 Clobbers: flags,x,y Microcode: PO AI MO AI P+ MO XI IOL YI MI X|Y OR i8l into the value in (i16). |
or (r), x +^ Opcode: 4b Words: 1 Cycles: 6 Clobbers: flags,y Microcode: IOH AI MO AI MO YI MI Y|X OR x into the value in (r). |
or r, i16 +!^ Opcode: 4c Words: 2 Cycles: 7 Clobbers: flags,x,y Microcode: PO AI MO YI P+ IOH AI MO XI MI Y|X OR i16 into r. |
or (r), i16 +!^ Opcode: 4d Words: 2 Cycles: 8 Clobbers: flags,x,y Microcode: PO AI MO XI P+ IOH AI MO AI MO YI MI Y|X OR i16 into the value in (r). |
or r, (i16) +!^ Opcode: 4e Words: 2 Cycles: 8 Clobbers: flags,x,y Microcode: PO AI MO AI MO XI P+ IOH AI MO YI MI Y|X OR the value in (i16) into r. |
call i16 +*^ Opcode: 4f Words: 2 Cycles: 7 Clobbers: flags,r254,y Microcode: -2 AI PO YI Y+1 MI PO AI MO JMP Set r254 to the return address. Jump to i16. |
5_ | xor x, y +*^ Opcode: 50 Words: 1 Cycles: 7 Clobbers: flags,r254,y Microcode: -2 AI MI X|Y YI ~(X&Y) MO XI XI X&Y XOR y with x. |
xor x, i8l +*^ Opcode: 51 Words: 1 Cycles: 8 Clobbers: flags,r254,y Microcode: -2 AI IOL YI MI X|Y YI ~(X&Y) MO XI XI X&Y XOR i8l with x. |
xor x, i8h +*^ Opcode: 52 Words: 1 Cycles: 8 Clobbers: flags,r254,y Microcode: -2 AI IOH YI MI X|Y YI ~(X&Y) MO XI XI X&Y XOR i8h with x. |
shl x +^ Opcode: 53 Words: 1 Cycles: 4 Clobbers: flags,y Microcode: YI X XI X+Y Bitwise shift-left x by 1 place. |
shl2 x +^ Opcode: 54 Words: 1 Cycles: 6 Clobbers: flags,y Microcode: YI X XI X+Y YI X XI X+Y Bitwise shift-left x by 2 places. |
shl3 x +^ Opcode: 55 Words: 1 Cycles: 8 Clobbers: flags,y Microcode: YI X XI X+Y YI X XI X+Y YI X XI X+Y Bitwise shift-left x by 3 places. |
shl r +!^ Opcode: 56 Words: 1 Cycles: 6 Clobbers: flags,x,y Microcode: IOH AI MO XI YI X MI X+Y Bitwise shift-left r by 1 place. |
shl2 r +!^ Opcode: 57 Words: 1 Cycles: 8 Clobbers: flags,x,y Microcode: IOH AI MO XI YI X XI X+Y YI X MI X+Y Bitwise shift-left r by 2 places. |
tbsz r, i16 +!^ Opcode: 58 Words: 2 Cycles: 8 Clobbers: flags,x,y Microcode: IOH AI MO XI PO AI MO YI P+ X&Y PO JNZ P+ Test bits and skip if zero: if none of the bits set in i16 are also set in r, then skip the next 1-word instruction. Use in tandem with sb to compute bitwise shift-right of 8 or more bits. |
sb r254, i8l +!^ Opcode: 59 Words: 1 Cycles: 6 Clobbers: flags,x,y Microcode: -2 AI MO XI IOL YI MI X|Y Set bits in r254 based on i8l. i.e. r254 |= i8l. |
push x +^ Opcode: 5a Words: 1 Cycles: 8 Clobbers: flags,y Microcode: -1 AI MO YI MO AI MI XO -1 AI Y-1 MI Store x to the value in (sp). Post-decrement sp. |
push i8l +^ Opcode: 5b Words: 1 Cycles: 8 Clobbers: flags,y Microcode: -1 AI MO YI MO AI MI IOL -1 AI Y-1 MI Store i8l to the value in (sp). Post-decrement sp. |
push i8h +^ Opcode: 5c Words: 1 Cycles: 8 Clobbers: flags,y Microcode: -1 AI MO YI MO AI MI IOH -1 AI Y-1 MI Store i8h to the value in (sp). Post-decrement sp. |
pop x + Opcode: 5d Words: 1 Cycles: 7 Clobbers: flags Microcode: -1 AI MO XI MI X+1 AI X+1 MO XI Pre-increment sp. Load x from the value in (sp). |
ld x, i8l(x) +^ Opcode: 5e Words: 1 Cycles: 5 Clobbers: flags,y Microcode: IOL YI X+Y AI MO XI Load the value in (x+i8l) into x. |
ld x, i8h(x) +^ Opcode: 5f Words: 1 Cycles: 5 Clobbers: flags,y Microcode: IOH YI X+Y AI MO XI Load the value in (x+i8h) into x. |
6_ | ld x, i8h(sp) +^ Opcode: 60 Words: 1 Cycles: 7 Clobbers: flags,y Microcode: -1 AI MO YI IOH XI X+Y AI MO XI Load the value in (sp+i8h) into x. |
ld x, r Opcode: 61 Words: 1 Cycles: 4 Clobbers: (none) Microcode: IOH AI MO XI Load r into x. |
ld x, i16 Opcode: 62 Words: 2 Cycles: 4 Clobbers: (none) Microcode: PO AI MO XI P+ Load i16 into x. |
ld x, (i16) Opcode: 63 Words: 2 Cycles: 5 Clobbers: (none) Microcode: PO AI MO AI P+ MO XI Load the value in (i16) into x. |
ld x, (r) Opcode: 64 Words: 1 Cycles: 5 Clobbers: (none) Microcode: IOH AI MO AI MO XI Load the value in (r) into x. |
ld x, (r++) +^ Opcode: 65 Words: 1 Cycles: 8 Clobbers: flags,y Microcode: IOH AI MO YI MO AI MO XI IOH AI MI Y+1 Load the value in (r) into x. Post-increment r. |
ld x, (r--) +^ Opcode: 66 Words: 1 Cycles: 8 Clobbers: flags,y Microcode: IOH AI MO YI MO AI MO XI IOH AI MI Y-1 Load the value in (r) into x. Post-decrement r. |
ld x, i8l Opcode: 67 Words: 1 Cycles: 3 Clobbers: (none) Microcode: IOL XI Load i8l into x. |
ld x, i8h Opcode: 68 Words: 1 Cycles: 3 Clobbers: (none) Microcode: IOH XI Load i8h into x. |
ld r, x + Opcode: 69 Words: 1 Cycles: 4 Clobbers: flags Microcode: IOH AI MI XO Load x into r. |
ld (i16), x + Opcode: 6a Words: 2 Cycles: 5 Clobbers: flags Microcode: PO AI MO AI P+ MI XO Load x into the value in (i16). |
ld (i16), i8l Opcode: 6b Words: 2 Cycles: 5 Clobbers: (none) Microcode: PO AI MO AI P+ MI IOL Load i8l into the value in (i16). |
ld (r), x + Opcode: 6c Words: 1 Cycles: 5 Clobbers: flags Microcode: IOH AI MO AI MI XO Load x into the value in (r). |
ld x, ++r + Opcode: 6d Words: 1 Cycles: 6 Clobbers: flags Microcode: IOH AI MO XI X+1 MI X+1 XI Pre-increment r. Load r into x. |
ld x, --r + Opcode: 6e Words: 1 Cycles: 6 Clobbers: flags Microcode: IOH AI MO XI X-1 MI X-1 XI Pre-decrement r. Load r into x. |
ld x, r++ + Opcode: 6f Words: 1 Cycles: 5 Clobbers: flags Microcode: IOH AI MO XI X+1 MI Load r into x. Post-increment r. |
7_ | ld x, r-- + Opcode: 70 Words: 1 Cycles: 5 Clobbers: flags Microcode: IOH AI MO XI X-1 MI Load r into x. Post-decrement r. |
ld x, ++(i16) + Opcode: 71 Words: 2 Cycles: 7 Clobbers: flags Microcode: PO AI MO AI P+ MO XI X+1 MI X+1 XI Pre-increment the value in (i16). Load the value in (i16) into x. |
ld x, --(i16) + Opcode: 72 Words: 2 Cycles: 7 Clobbers: flags Microcode: PO AI MO AI P+ MO XI X-1 MI X-1 XI Pre-decrement the value in (i16). Load the value in (i16) into x. |
ld x, (i16)++ + Opcode: 73 Words: 2 Cycles: 6 Clobbers: flags Microcode: PO AI MO AI P+ MO XI X+1 MI Load the value in (i16) into x. Post-increment the value in (i16). |
ld x, (i16)-- + Opcode: 74 Words: 2 Cycles: 6 Clobbers: flags Microcode: PO AI MO AI P+ MO XI X-1 MI Load the value in (i16) into x. Post-decrement the value in (i16). |
ld x, (++r) + Opcode: 75 Words: 1 Cycles: 7 Clobbers: flags Microcode: IOH AI MO XI MI X+1 AI X+1 MO XI Pre-increment r. Load the value in (r) into x. |
ld x, (--r) + Opcode: 76 Words: 1 Cycles: 7 Clobbers: flags Microcode: IOH AI MO XI MI X-1 AI X-1 MO XI Pre-decrement r. Load the value in (r) into x. |
ld x, ((i16)) Opcode: 77 Words: 2 Cycles: 6 Clobbers: (none) Microcode: PO AI MO AI P+ MO AI MO XI Load the value in ((i16)) into x. |
ld x, i8l(sp) +^ Opcode: 78 Words: 1 Cycles: 7 Clobbers: flags,y Microcode: -1 AI MO YI IOL XI X+Y AI MO XI Load the value in (sp+i8l) into x. |
ld r, 1(sp) +^ Opcode: 79 Words: 1 Cycles: 8 Clobbers: flags,y Microcode: -1 AI MO YI Y+1 AI MO YI IOH AI YO MI Load the value in (sp+1) into r. |
ld 1(sp), r +!^ Opcode: 7a Words: 1 Cycles: 8 Clobbers: flags,x,y Microcode: IOH AI MO XI -1 AI MO YI Y+1 AI XO MI Load the value in r into (sp+1). |
ld 1(sp), i8l +^ Opcode: 7b Words: 1 Cycles: 6 Clobbers: flags,y Microcode: -1 AI MO YI Y+1 AI IOL MI Load i8l into (sp+1). |
ld r, (x) +^ Opcode: 7c Words: 1 Cycles: 6 Clobbers: flags,y Microcode: XO AI MO YI IOH AI MI YO Load the value in (x) into r. |
ld r, i16(x) +^ Opcode: 7d Words: 2 Cycles: 8 Clobbers: flags,y Microcode: PO AI MO YI P+ AI X+Y MO YI IOH AI MI YO Load the value in (x+i16) into r. |
ld ((i16)), x + Opcode: 7e Words: 2 Cycles: 6 Clobbers: flags Microcode: PO AI MO AI P+ MO AI MI XO Load x into the value in ((i16)). |
ld (++r), x +^ Opcode: 7f Words: 1 Cycles: 7 Clobbers: flags,y Microcode: IOH AI MO YI Y+1 MI Y+1 AI MI XO Pre-increment r. Load x into the value in (r). |
8_ | ld (--r), x +^ Opcode: 80 Words: 1 Cycles: 7 Clobbers: flags,y Microcode: IOH AI MO YI Y-1 MI Y-1 AI MI XO Pre-decrement r. Load x into the value in (r). |
ld (r++), x +^ Opcode: 81 Words: 1 Cycles: 8 Clobbers: flags,y Microcode: IOH AI MO YI MO AI MI XO IOH AI Y+1 MI Load x into the value in (r). Post-increment r. |
ld (r--), x +^ Opcode: 82 Words: 1 Cycles: 8 Clobbers: flags,y Microcode: IOH AI MO YI MO AI MI XO IOH AI Y-1 MI Load x into the value in (r). Post-decrement r. |
ld r, (i16) +^ Opcode: 83 Words: 2 Cycles: 7 Clobbers: flags,y Microcode: PO AI MO AI P+ MO YI IOH AI MI YO Load the value in (i16) into r. |
ld (i16), r +^ Opcode: 84 Words: 2 Cycles: 7 Clobbers: flags,y Microcode: IOH AI MO YI PO AI MO AI P+ MI YO Load r into the value in (i16). |
ld r, i16 +^ Opcode: 85 Words: 2 Cycles: 6 Clobbers: flags,y Microcode: PO AI MO YI P+ IOH AI MI YO Load i16 into r. |
ld (r), i16 +^ Opcode: 86 Words: 2 Cycles: 7 Clobbers: flags,y Microcode: PO AI MO YI P+ IOH AI MO AI MI YO Load i16 into the value in (r). |
ld (x), i16 +^ Opcode: 87 Words: 2 Cycles: 6 Clobbers: flags,y Microcode: PO AI MO YI P+ XO AI MI YO Load i16 into (x). |
ld (x), r +^ Opcode: 88 Words: 1 Cycles: 6 Clobbers: flags,y Microcode: IOH AI MO YI XO AI MI YO Load r into (x). |
ld (x), (r) +^ Opcode: 89 Words: 1 Cycles: 7 Clobbers: flags,y Microcode: IOH AI MO AI MO YI XO AI MI YO Load the value in (r) into (x). |
ld (x), (i16) +^ Opcode: 8a Words: 2 Cycles: 7 Clobbers: flags,y Microcode: PO AI MO AI P+ MO YI XO AI MI YO Load the value in (i16) into (x). |
ld x, (x) + Opcode: 8b Words: 1 Cycles: 4 Clobbers: flags Microcode: XO AI MO XI Load the value in (x) into x. |
ld y, x + Opcode: 8c Words: 1 Cycles: 3 Clobbers: flags Microcode: YI XO Load x into y. |
ld y, r Opcode: 8d Words: 1 Cycles: 4 Clobbers: (none) Microcode: IOH AI MO YI Load r into y. |
ld y, i16 Opcode: 8e Words: 2 Cycles: 4 Clobbers: (none) Microcode: PO AI MO YI P+ Load i16 into y. |
ld y, i8l+sp +! Opcode: 8f Words: 1 Cycles: 6 Clobbers: flags,x Microcode: -1 AI MO YI IOL XI X+Y YI Load i8l+sp into y. |
9_ | ld (y), x + Opcode: 90 Words: 1 Cycles: 4 Clobbers: flags Microcode: YO AI XO MI Load x into (y). |
ld (y), i8l + Opcode: 91 Words: 1 Cycles: 4 Clobbers: flags Microcode: YO AI IOL MI Load i8l into (y). |
ld (y), i16 +! Opcode: 92 Words: 2 Cycles: 6 Clobbers: flags,x Microcode: PO AI MO XI P+ YO AI XO MI Load i16 into (y). |
ret + Opcode: 93 Words: 1 Cycles: 4 Clobbers: flags Microcode: -2 AI MO JMP Jump to r254. |
ret i8l +!^ Opcode: 94 Words: 1 Cycles: 8 Clobbers: flags,x,y Microcode: -1 AI MO YI IOL XI MI X+Y -2 AI MO JMP Increase sp by i8l. Jump to r254. |
zero r + Opcode: 95 Words: 1 Cycles: 4 Clobbers: flags Microcode: IOH AI 0 MI Set r to 0. |
one r + Opcode: 96 Words: 1 Cycles: 4 Clobbers: flags Microcode: IOH AI 1 MI Set r to 1. |
Opcode: 97 Words: Cycles: Clobbers: (none) Microcode: |
Opcode: 98 Words: Cycles: Clobbers: (none) Microcode: |
Opcode: 99 Words: Cycles: Clobbers: (none) Microcode: |
Opcode: 9a Words: Cycles: Clobbers: (none) Microcode: |
Opcode: 9b Words: Cycles: Clobbers: (none) Microcode: |
Opcode: 9c Words: Cycles: Clobbers: (none) Microcode: |
Opcode: 9d Words: Cycles: Clobbers: (none) Microcode: |
Opcode: 9e Words: Cycles: Clobbers: (none) Microcode: |
Opcode: 9f Words: Cycles: Clobbers: (none) Microcode: |
a_ | inc x + Opcode: a0 Words: 1 Cycles: 3 Clobbers: flags Microcode: XI X+1 Increment x. |
inc r +^ Opcode: a1 Words: 1 Cycles: 5 Clobbers: flags,y Microcode: IOH AI MO YI MI Y+1 Increment r. |
inc (x) +^ Opcode: a2 Words: 1 Cycles: 5 Clobbers: flags,y Microcode: XO AI MO YI MI Y+1 Increment the value in (x). |
inc (r) +^ Opcode: a3 Words: 1 Cycles: 6 Clobbers: flags,y Microcode: IOH AI MO AI MO YI MI Y+1 Increment the value in (r). |
inc (i16) +^ Opcode: a4 Words: 2 Cycles: 6 Clobbers: flags,y Microcode: PO AI MO AI P+ MO YI MI Y+1 Increment the value in (i16). |
jr+ i8l +!^ Opcode: a5 Words: 1 Cycles: 5 Clobbers: flags,x,y Microcode: PO YI IOL XI JMP X+Y Jump forwards relative to the address of the next instruction. jr+ 0 is a no-op. |
jr- i8l +!^ Opcode: a6 Words: 1 Cycles: 5 Clobbers: flags,x,y Microcode: PO YI IOL XI JMP Y-X Jump backwards relative to the address of the next instruction. jr- 0 is a no-op. jr- 1 is an infinite loop. |
jr+ r +!^ Opcode: a7 Words: 1 Cycles: 6 Clobbers: flags,x,y Microcode: PO YI IOH AI MO XI JMP X+Y Jump forwards relative to the address of the next instruction. jr+ 0 is a no-op. |
jmp (x) + Opcode: a8 Words: 1 Cycles: 4 Clobbers: flags Microcode: XO AI MO JMP Jump to the address in (x). |
jmp x + Opcode: a9 Words: 1 Cycles: 3 Clobbers: flags Microcode: XO JMP Jump to x. |
jz x + Opcode: aa Words: 1 Cycles: 3 Clobbers: flags Microcode: XO JZ Jump to x if Z is set. |
jnz x + Opcode: ab Words: 1 Cycles: 3 Clobbers: flags Microcode: XO JNZ Jump to x if Z is not set. |
jgt x + Opcode: ac Words: 1 Cycles: 3 Clobbers: flags Microcode: XO JGT Jump to x if Z is not set and LT is not set. |
jlt x + Opcode: ad Words: 1 Cycles: 3 Clobbers: flags Microcode: XO JLT Jump to x if LT is set. |
jge x + Opcode: ae Words: 1 Cycles: 3 Clobbers: flags Microcode: XO JZ JGT Jump to x if LT is not set. |
jle x + Opcode: af Words: 1 Cycles: 3 Clobbers: flags Microcode: XO JZ JLT Jump to x if Z is set or LT is set. |
b_ | dec x + Opcode: b0 Words: 1 Cycles: 3 Clobbers: flags Microcode: XI X-1 Decrement x. |
dec r +^ Opcode: b1 Words: 1 Cycles: 5 Clobbers: flags,y Microcode: IOH AI MO YI MI Y-1 Decrement r. |
dec (x) +^ Opcode: b2 Words: 1 Cycles: 5 Clobbers: flags,y Microcode: XO AI MO YI MI Y-1 Decrement the value in (x). |
dec (r) +^ Opcode: b3 Words: 1 Cycles: 6 Clobbers: flags,y Microcode: IOH AI MO AI MO YI MI Y-1 Decrement the value in (r). |
dec (i16) +^ Opcode: b4 Words: 2 Cycles: 6 Clobbers: flags,y Microcode: PO AI MO AI P+ MO YI MI Y-1 Decrement the value in (i16). |
in x, r + Opcode: b5 Words: 1 Cycles: 7 Clobbers: flags Microcode: IOH AI MO AI XO DO XI XO Input from address r to x. |
in x, i16 + Opcode: b6 Words: 2 Cycles: 7 Clobbers: flags Microcode: PO AI MO AI P+ XO DO XI XO Input from address i16 to x. |
in x, (i16) + Opcode: b7 Words: 2 Cycles: 8 Clobbers: flags Microcode: PO AI MO AI P+ MO AI XO DO XI XO Input from the address in (i16) to x. |
in x, (r) Opcode: b8 Words: 1 Cycles: 6 Clobbers: (none) Microcode: IOH AI MO AI MO AI DO XI Input from the address in (r) to x. |
jmp i16 Opcode: b9 Words: 2 Cycles: 4 Clobbers: (none) Microcode: PO AI MO JMP Jump to i16. |
jz i16 Opcode: ba Words: 2 Cycles: 4 Clobbers: (none) Microcode: PO AI MO JZ P+ Jump to i16 if Z is set. |
jnz i16 Opcode: bb Words: 2 Cycles: 4 Clobbers: (none) Microcode: PO AI MO JNZ P+ Jump to i16 if Z is not set. |
jgt i16 Opcode: bc Words: 2 Cycles: 4 Clobbers: (none) Microcode: PO AI MO JGT P+ Jump to i16 if Z is not set and LT is not set. |
jlt i16 Opcode: bd Words: 2 Cycles: 4 Clobbers: (none) Microcode: PO AI MO JLT P+ Jump to i16 if LT is set. |
jge i16 Opcode: be Words: 2 Cycles: 4 Clobbers: (none) Microcode: PO AI MO JZ JGT P+ Jump to i16 if LT is not set. |
jle i16 Opcode: bf Words: 2 Cycles: 4 Clobbers: (none) Microcode: PO AI MO JZ JLT P+ Jump to i16 if Z is set or LT is set. |
c_ | neg x + Opcode: c0 Words: 1 Cycles: 3 Clobbers: flags Microcode: XI -X Arithmetic negate x. |
neg r +^ Opcode: c1 Words: 1 Cycles: 5 Clobbers: flags,y Microcode: IOH AI MO YI MI -Y Arithmetic negate r. |
neg (x) +^ Opcode: c2 Words: 1 Cycles: 5 Clobbers: flags,y Microcode: XO AI MO YI MI -Y Arithmetic negate the value in (x). |
neg (r) +^ Opcode: c3 Words: 1 Cycles: 6 Clobbers: flags,y Microcode: IOH AI MO AI MO YI MI -Y Arithmetic negate the value in (r). |
neg (i16) +^ Opcode: c4 Words: 2 Cycles: 6 Clobbers: flags,y Microcode: PO AI MO AI P+ MO YI MI -Y Arithmetic negate the value in (i16). |
in x, i8l + Opcode: c5 Words: 1 Cycles: 6 Clobbers: flags Microcode: IOL AI XO DO XI XO Input from address i8l to x. |
in x, i8h + Opcode: c6 Words: 1 Cycles: 6 Clobbers: flags Microcode: IOH AI XO DO XI XO Input from address i8h to x. |
in r, x +^ Opcode: c7 Words: 1 Cycles: 8 Clobbers: flags,y Microcode: AI XO XO DO YI XO IOH AI MI YO Input from address x to r. |
in (i16), x +^ Opcode: c8 Words: 2 Cycles: 8 Clobbers: flags,y Microcode: AI XO DO YI XO PO AI MO AI P+ MI YO Input from address x to the value in (i16). |
jmp (i16) Opcode: c9 Words: 2 Cycles: 5 Clobbers: (none) Microcode: PO AI MO AI MO JMP Jump to the address in (i16). |
jz (i16) Opcode: ca Words: 2 Cycles: 5 Clobbers: (none) Microcode: PO AI MO AI P+ MO JZ Jump to the address in (i16) if Z is set. |
jnz (i16) Opcode: cb Words: 2 Cycles: 5 Clobbers: (none) Microcode: PO AI MO AI P+ MO JNZ Jump to the address in (i16) if Z is not set. |
jgt (i16) Opcode: cc Words: 2 Cycles: 5 Clobbers: (none) Microcode: PO AI MO AI P+ MO JGT Jump to the address in (i16) if Z is not set and LT is not set. |
jlt (i16) Opcode: cd Words: 2 Cycles: 5 Clobbers: (none) Microcode: PO AI MO AI P+ MO JLT Jump to the address in (i16) if LT is set. |
jge (i16) Opcode: ce Words: 2 Cycles: 5 Clobbers: (none) Microcode: PO AI MO AI P+ MO JZ JGT Jump to the address in (i16) if LT is not set. |
jle (i16) Opcode: cf Words: 2 Cycles: 5 Clobbers: (none) Microcode: PO AI MO AI P+ MO JZ JLT Jump to the address in (i16) if Z is set or LT is set. |
d_ | not x + Opcode: d0 Words: 1 Cycles: 3 Clobbers: flags Microcode: XI ~X Bitwise complement x. |
not r +^ Opcode: d1 Words: 1 Cycles: 5 Clobbers: flags,y Microcode: IOH AI MO YI MI ~Y Bitwise complement r. |
not (x) +^ Opcode: d2 Words: 1 Cycles: 5 Clobbers: flags,y Microcode: XO AI MO YI MI ~Y Bitwise complement the value in (x). |
not (r) +^ Opcode: d3 Words: 1 Cycles: 6 Clobbers: flags,y Microcode: IOH AI MO AI MO YI MI ~Y Bitwise complement the value in (r). |
not (i16) +^ Opcode: d4 Words: 2 Cycles: 6 Clobbers: flags,y Microcode: PO AI MO AI P+ MO YI MI ~Y Bitwise complement the value in (i16). |
in (r), x +^ Opcode: d5 Words: 1 Cycles: 8 Clobbers: flags,y Microcode: AI XO XO DO YI IOH AI MO AI MI YO Input from address x to the value in (r). |
in r, i16 +^ Opcode: d6 Words: 2 Cycles: 8 Clobbers: flags,y Microcode: PO AI MO AI P+ XO YI DO IOH AI MI YO Input from address i16 to r. |
in (r), i16 +^ Opcode: d7 Words: 2 Cycles: 8 Clobbers: flags,y Microcode: PO AI MO AI P+ YI DO IOH AI MO AI MI YO Input from address i16 to the value in (r). |
in (x++), i16 +^ Opcode: d8 Words: 2 Cycles: 8 Clobbers: flags,y Microcode: PO AI MO AI P+ DO YI XO AI YO MI X+1 XI Input from address i16 to the value in (x). Post-increment x. |
out x, r +^ Opcode: d9 Words: 1 Cycles: 6 Clobbers: flags,y Microcode: IOH AI MO YI XO AI YO DI Output r to address x. |
out x, i16 +^ Opcode: da Words: 2 Cycles: 6 Clobbers: flags,y Microcode: PO AI MO YI P+ XO AI YO DI Output i16 to address x. |
out i16, (x) +^ Opcode: db Words: 2 Cycles: 7 Clobbers: flags,y Microcode: XO AI MO YI PO AI MO AI P+ YO DI Output the value in (x) to address i16. |
out x, (i16) +^ Opcode: dc Words: 2 Cycles: 7 Clobbers: flags,y Microcode: PO AI MO AI P+ MO YI XO AI YO DI Output the value in (i16) to address x. |
out x, (r) +^ Opcode: dd Words: 1 Cycles: 7 Clobbers: flags,y Microcode: IOH AI MO AI MO YI XO AI YO DI Output the value in (r) to address x. |
out x, i8l + Opcode: de Words: 1 Cycles: 4 Clobbers: flags Microcode: XO AI IOL DI Output i8l to address x. |
out x, i8h + Opcode: df Words: 1 Cycles: 4 Clobbers: flags Microcode: XO AI IOH DI Output i8h to address x. |
e_ | test x + Opcode: e0 Words: 1 Cycles: 3 Clobbers: flags Microcode: X Set flags based on x. |
test r +^ Opcode: e1 Words: 1 Cycles: 5 Clobbers: flags,y Microcode: IOH AI MO YI Y Set flags based on r. |
test (x) +^ Opcode: e2 Words: 1 Cycles: 5 Clobbers: flags,y Microcode: XO AI MO YI Y Set flags based on the value in (x). |
test (r) +^ Opcode: e3 Words: 1 Cycles: 6 Clobbers: flags,y Microcode: IOH AI MO AI MO YI Y Set flags based on the value in (r). |
test (i16) +^ Opcode: e4 Words: 2 Cycles: 6 Clobbers: flags,y Microcode: PO AI MO AI P+ MO YI Y Set flags based on the value in (i16). |
out r, x + Opcode: e5 Words: 1 Cycles: 5 Clobbers: flags Microcode: IOH AI MO AI XO DI Output x to address r. |
out (i16), x + Opcode: e6 Words: 2 Cycles: 6 Clobbers: flags Microcode: PO AI MO AI P+ MO AI XO DI Output x to the address in (i16). |
out (r), x + Opcode: e7 Words: 1 Cycles: 6 Clobbers: flags Microcode: IOH AI MO AI MO AI XO DI Output x to the address in (r). |
out i8l, x + Opcode: e8 Words: 1 Cycles: 4 Clobbers: flags Microcode: IOL AI XO DI Output x to address i8l. |
out i8h, x + Opcode: e9 Words: 1 Cycles: 4 Clobbers: flags Microcode: IOH AI XO DI Output x to address i8h. |
out i16, x + Opcode: ea Words: 2 Cycles: 5 Clobbers: flags Microcode: PO AI MO AI P+ XO DI Output x to address i16. |
out i16, r +^ Opcode: eb Words: 2 Cycles: 7 Clobbers: flags,y Microcode: IOH AI MO YI PO AI MO AI P+ YO DI Output r to address i16. |
out i16, (r) +^ Opcode: ec Words: 2 Cycles: 8 Clobbers: flags,y Microcode: IOH AI MO AI MO YI PO AI MO AI P+ YO DI Output the value in (r) to address i16. |
out i16, (x++) +^ Opcode: ed Words: 2 Cycles: 8 Clobbers: flags,y Microcode: XO AI MO YI PO AI MO AI P+ YO DI X+1 XI Output the value in (x) to address i16. Post-increment x. |
jmp i8l(x) +^ Opcode: ee Words: 1 Cycles: 5 Clobbers: flags,y Microcode: IOL YI X+Y AI MO JMP Jump to the address in (x+i8l). |
nop Opcode: ef Words: 1 Cycles: 2 Clobbers: (none) Microcode: Do nothing. |
f_ | Opcode: f0 Words: Cycles: Clobbers: (none) Microcode: |
Opcode: f1 Words: Cycles: Clobbers: (none) Microcode: |
Opcode: f2 Words: Cycles: Clobbers: (none) Microcode: |
Opcode: f3 Words: Cycles: Clobbers: (none) Microcode: |
Opcode: f4 Words: Cycles: Clobbers: (none) Microcode: |
Opcode: f5 Words: Cycles: Clobbers: (none) Microcode: |
Opcode: f6 Words: Cycles: Clobbers: (none) Microcode: |
Opcode: f7 Words: Cycles: Clobbers: (none) Microcode: |
Opcode: f8 Words: Cycles: Clobbers: (none) Microcode: |
Opcode: f9 Words: Cycles: Clobbers: (none) Microcode: |
Opcode: fa Words: Cycles: Clobbers: (none) Microcode: |
Opcode: fb Words: Cycles: Clobbers: (none) Microcode: |
Opcode: fc Words: Cycles: Clobbers: (none) Microcode: |
Opcode: fd Words: Cycles: Clobbers: (none) Microcode: |
Opcode: fe Words: Cycles: Clobbers: (none) Microcode: |
Opcode: ff Words: Cycles: Clobbers: (none) Microcode: |