30 lines
664 B
Plaintext
30 lines
664 B
Plaintext
|
|
/* 8080 desciptor table for ACK target optimizer */
|
|
|
|
MAXOP 2;
|
|
|
|
%%;
|
|
|
|
X, Y, Z { TRUE };
|
|
%%;
|
|
|
|
mvi X, Y : mov X, Z -> mov X, Z ;
|
|
|
|
xchg : inx h : xchg -> inx d ;
|
|
xchg : inx d : xchg -> inx h ;
|
|
|
|
adi 0 -> xra a ;
|
|
ori 0 -> ora a ;
|
|
xri 0 -> ora a ;
|
|
adi 0 -> ora a ;
|
|
sui 0 -> ora a ;
|
|
cpi 0 -> ora a ;
|
|
call X : ret -> jmp X ;
|
|
|
|
push h : lxi h, X : pop d -> lxi d, X : xchg ;
|
|
push d : lxi d, X : pop h -> lxi h, X : xchg ;
|
|
|
|
push h : lhld X : pop d -> xchg : lhld X ;
|
|
|
|
%%;
|