public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a8b298
)
Add a few minor top optimisations.
author
David Given
<dg@cowlark.com>
Sat, 16 Feb 2019 00:18:31 +0000
(
01:18
+0100)
committer
David Given
<dg@cowlark.com>
Sat, 16 Feb 2019 00:18:31 +0000
(
01:18
+0100)
mach/i80/top/table
patch
|
blob
|
history
diff --git
a/mach/i80/top/table
b/mach/i80/top/table
index
f03c92d
..
3e0c20d
100644
(file)
--- 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 ;
%%;