From 61d623c4d6d34c83715a292131e2e1ce8b8b511f Mon Sep 17 00:00:00 2001 From: David Given Date: Sat, 16 Feb 2019 01:18:31 +0100 Subject: [PATCH] Add a few minor top optimisations. --- mach/i80/top/table | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mach/i80/top/table b/mach/i80/top/table index f03c92d9b..3e0c20d43 100644 --- a/mach/i80/top/table +++ b/mach/i80/top/table @@ -13,12 +13,17 @@ 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 h, X : pop d -> xchg : lhld X ; +push h : lhld X : pop d -> xchg : lhld X ; %%; -- 2.34.1