This file is the html version of z80machinecode.asc
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | |
---|---|---|---|---|---|---|---|---|
00 | nop | ld BC,w | ld[BC],A | inc BC | inc B | dec B | ld B,b | rcla |
01 | ex AF,AF' | add HL,BC | ld A,[BC] | dec BC | inc C | dec C | ld C,b | rrca |
02 | djnz b | ld DE,w | ld[DE],A | inc DE | inc D | dec D | ld D,b | rla |
03 | jr b | add HL,DE | ld A,[DE] | dec DE | inc E | dec E | ld E,b | rra |
04 | jr nz,b | ld HL,w | ld[w],HL | inc HL | inc H | dec H | ld H,b | daa |
05 | jr z,b | add HL,HL | ld HL,[w] | dec HL | inc L | dec L | ld L,b | cpl |
06 | jr nc,b | ld SP,w | ld [w],A | inc SP | inc[HL] | dec[HL] | ld[HL],b | scf |
07 | jr c,b | add HL,SP | ld A,[w] | dec SP | inc A | dec A | ld A,b | ccf |
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | |
10 | ld B,B | ld B,C | ld B,D | ld B,E | ld B,H | ld B,L | ld B,(HL) | ld B,A |
11 | ld C,B | ld C,C | ld C,D | ld C,E | ld C,H | ld C,L | ld C,(HL) | ld C,A |
12 | ld D,B | ld D,C | ld D,D | ld D,E | ld D,H | ld D,L | ld D,(HL) | ld D,A |
13 | ld E,B | ld E,C | ld E,D | ld E,E | ld E,H | ld E,L | ld E,(HL) | ld E,A |
14 | ld H,B | ld H,C | ld H,D | ld H,E | ld H,H | ld H,L | ld H,(HL) | ld H,A |
15 | ld L,B | ld L,C | ld L,D | ld L,E | ld L,H | ld L,L | ld L,(HL) | ld L,A |
16 | ld[HL],B | ld[HL],C | ld[HL],D | ld[HL],E | ld[HL],H | ld[HL],L | halt | ld[HL],A |
17 | ld A,B | ld A,C | ld A,D | ld L,E | ld A,H | ld A,L | ld A,(HL) | ld A,A |
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | |
20 | add A,B | add A,C | add A,D | add A,E | add A,H | add A,L | add A,[HL] | add A,A |
21 | adc A,B | adc A,C | adc A,D | adc A,E | adc A,H | adc A,L | adc A,[HL] | adc A,A |
22 | sub A,B | sub A,C | sub A,D | sub A,E | sub A,H | sub A,L | sub A,[HL] | sub A,A |
23 | sbc A,B | sbc A,C | sbc A,D | sbc A,E | sbc A,H | sbc A,L | sbc A,[HL] | sbc A,A |
24 | and A,B | and A,C | and A,D | and A,E | and A,H | and A,L | and A,[HL] | and A,A |
25 | xor A,B | xor A,C | xor A,D | xor A,E | xor A,H | xor A,L | xor A,[HL] | xor A,A |
26 | or A,B | or A,C | or A,D | or A,E | or A,H | or A,L | or A,[HL] | or A,A |
27 | cp A,B | cp A,C | cp A,D | cp A,E | cp A,H | cp A,L | cp A,[HL] | cp A,A |
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | |
30 | ret nz | pop BC | jp nz,w | jp w | call nz,w | push BC | add A,b | rst OOh |
31 | ret z | ret | jp z,w | BITS | call z,w | call w | adc A,b | rst O8h |
32 | ret nc | pop DE | jp nc,w | out b,A | call nc,w | push DE | sub A,b | rst 1Oh |
33 | ret c | exx | jp c,w | in A,b | call c,w | IXMOD | sbc A,b | rst 18h |
34 | ret po | pop HL | jp po,w | ex[SP],HL | call po,w | push HL | and A,b | rst 2Oh |
35 | ret pe | jp HL | jp pe,w | ex DE,HL | call pe,w | EXTD | xor A,b | rst 28h |
36 | ret p | pop AF | jp p,w | di | call p,w | push AF | or A,b | rst 3Oh |
37 | ret m | ld SP,HL | jp m,w | ei | call m,w | IYMOD | cp A,b | rst 38h |
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |