scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit c8cb140c6204646fba2f19a48e994582f24543c5
parent 73b75c89b315cc6f97f8d9fc431e84bf1a002d3a
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 28 Sep 2017 09:16:49 +0100

[as-z80] Add all the direct instructions of z80

Diffstat:
as/target/x80/x80.dat | 35+++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+), 0 deletions(-)

diff --git a/as/target/x80/x80.dat b/as/target/x80/x80.dat @@ -15,4 +15,39 @@ .DEFQ imm64+ 0 none defq Z80,R800,GB80 .EQU imm16 0 none equ Z80,R800,GB80 NOP none 1 0x00 direct Z80,R800,GB80 +EI none 1 0xfb direct Z80,R800,GB80 +DI none 1 0xf3 direct Z80,R800,GB80 +HALT none 1 0x76 direct Z80,R800,GB80 +SCF none 1 0x37 direct Z80,R800,GB80 +CCF none 1 0x3f direct Z80,R800,GB80 +NEG none 2 0xed,0x44 direct Z80,R800 +CPL none 1 0x2f direct Z80,R800,GB80 +DAA none 1 0x27 direct Z80,R800,GB80 +EI none 1 0xfb direct Z80,R800,GB80 +DI none 1 0xf3 direct Z80,R800,GB80 +HALT none 1 0x76 direct Z80,R800,GB80 +SCF none 1 0x37 direct Z80,R800,GB80 RET none 1 0xc9 direct Z80,R800,GB80 +EXX none 1 0xd9 direct Z80,R800 +LDI none 2 0xed,0xa0 direct Z80,R800 +LDIR none 2 0xed,0xb0 direct Z80,R800 +LDD none 2 0xed,0xa8 direct Z80,R800 +LDDR none 2 0xed,0xb8 direct Z80,R800 +CPI none 2 0xed,0xa1 direct Z80,R800 +CPIR none 2 0xed,0xb1 direct Z80,R800 +CPD none 2 0xed,0xa9 direct Z80,R800 +CPDR none 2 0xed,0xb9 direct Z80,R800 +RLCA none 1 0x07 direct Z80,R800,GB80 +RLA none 1 0x17 direct Z80,R800,GB80 +RRCA none 1 0x0f direct Z80,R800,GB80 +RRA none 1 0x1f direct Z80,R800,GB80 +RLD none 2 0xed,0x6f direct Z80,R800 +RRD none 2 0xed,0x67 direct Z80,R800 +INI none 2 0xed,0xa2 direct Z80,R800 +INIR none 2 0xed,0xb2 direct Z80,R800 +IND none 2 0xed,0xaa direct Z80,R800 +INDR none 2 0xed,0xba direct Z80,R800 +OUTI none 2 0xed,0xa3 direct Z80,R800 +OTIR none 2 0xed,0xb3 direct Z80,R800 +OUTD none 2 0xed,0xab direct Z80,R800 +OTDR none 2 0xed,0xbb direct Z80,R800