2007-04-29 23:09:24 +00:00
|
|
|
|
2019-02-11 19:46:06 +00:00
|
|
|
/* 8080 desciptor table for ACK target optimizer */
|
2007-04-29 23:09:24 +00:00
|
|
|
|
|
|
|
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 ;
|
|
|
|
|
2019-02-16 00:18:31 +00:00
|
|
|
adi 0 -> xra a ;
|
|
|
|
ori 0 -> ora a ;
|
|
|
|
xri 0 -> ora a ;
|
|
|
|
adi 0 -> ora a ;
|
|
|
|
sui 0 -> ora a ;
|
2019-02-10 18:22:43 +00:00
|
|
|
cpi 0 -> ora a ;
|
2019-02-11 19:46:06 +00:00
|
|
|
call X : ret -> jmp X ;
|
2019-02-10 18:22:43 +00:00
|
|
|
|
2019-02-14 23:38:39 +00:00
|
|
|
push h : lxi h, X : pop d -> lxi d, X : xchg ;
|
|
|
|
push d : lxi d, X : pop h -> lxi h, X : xchg ;
|
|
|
|
|
2019-02-16 00:18:31 +00:00
|
|
|
push h : lhld X : pop d -> xchg : lhld X ;
|
2019-02-15 20:30:27 +00:00
|
|
|
|
2007-04-29 23:09:24 +00:00
|
|
|
%%;
|