Complete Character Set - Sinclair ZX81 User Manual

Hide thumbs Also See for ZX81:
Table of Contents

Advertisement

Appendix A - The character set
This is the complete ZX80 character set, with codes in decimal & hex. If one imagines the codes as being
Z80 machine code instructions, then the right hand columns give the corresponding assembly language
mnemonics. As you are probably aware if you understand these things, certain Z80 instructions are
compounds starting with CBh or EDh; the two right hand columns give these.
Code
Character
0
space
1
2
3
4
5
6
7
8
9
10
11
"
12
£
13
$
14
:
15
?
16
(
17
)
18
>
19
<
20
=
21
+
22
-
23
*
24
/
25
;
26
,
27
.
28
0
29
1
30
2
31
3
32
4
33
5
34
6
35
7
36
8
37
9
38
A
39
B
40
C
Hex
Z80 assembler
00
nop
01
ld bc,NN
02
ld (bc),a
03
inc bc
04
inc b
05
dec b
06
ld b,N
07
rlca
08
ex a,af'
09
add hl,bc
0A
ld a,(bc)
0B
dec bc
0C
inc c
0D
dec c
0E
ld c,N
0F
rcca
10
djnz DIS
11
ld de,NN
12
ld (de),a
13
inc de
14
inc d
15
dec d
16
ld d,N
17
rla
18
jr DIS
19
add hl,de
1A
la a,(de)
1B
dec de
1C
inc e
1D
dec e
1E
ld e,N
1F
rra
20
jr nz,DIS
21
ld hl,N
22
ld (NN),hl
23
inc hl
24
inc h
25
dec h
26
ld h,N
27
daa
28
jr z,DIS
- after CBh
- after EDh
rlc b
rlc c
rlc d
rlc e
rlc h
rlc l
rlc (hl)
rlc a
rrc b
rrc c
rrc d
rrc e
rrc h
rrc l
rrc (hl)
rrc a
rl b
rl c
rl d
rl e
rl h
rl l
rl (hl)
rl a
rr b
rr c
rr d
rr e
rr h
rr l
rr (hl)
rr a
sla b
sla c
sla d
sla e
sla h
sla l
sla (hl)
la a
sra b

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents