mirror of
https://github.com/EranMorkon/AMTS.git
synced 2023-12-28 16:48:38 +00:00
23 lines
755 B
Plaintext
23 lines
755 B
Plaintext
|
\ProvidesFile{lstlangz80.sty}
|
||
|
[2018/03/18 1.0 listings language file for Z80]
|
||
|
%%
|
||
|
%% Z80 definition (c) 2018 Andreas Mieke
|
||
|
%%
|
||
|
\lstdefinelanguage[Z80]{Assembler}%
|
||
|
{morekeywords={ADC,ADD,AND,BIT,CALL,%
|
||
|
CCF,CP,CPD,CPDR,CPI,CPIR,CPL,DAA,DEC,%
|
||
|
DI,DJNZ,EI,EX,EXX,HALT,IM,IN,INC,IND,INDR,%
|
||
|
INI,INIR,JP,JR,LD,LDD,LDDR,LDI,LDIR,NEG,%
|
||
|
NOP,OR,OTDR,OTIR,OUT,OUTD,OUTI,POP,%
|
||
|
PUSH,RES,RET,RETI,RETN,RL,RLA,RLC,%
|
||
|
RLCA,RLD,RR,RRA,RRC,RRCA,RRD,RST,%
|
||
|
SBC,SCF,SET,SLA,SLL,SL1,SRA,SRL,%
|
||
|
SUB,XOR},%
|
||
|
morekeywords=[2]{EQU,ORG},%
|
||
|
alsoletter={.,0,1,2,3,4,5,6,7,8,9},%
|
||
|
alsodigit={?},%
|
||
|
sensitive=false,%
|
||
|
morestring=[b]",%
|
||
|
morecomment=[l];,%
|
||
|
}[keywords,comments,strings]
|
||
|
\endinput
|