summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2019-03-30 20:33:29 +0000
committerJuan J. Martinez <jjm@usebox.net>2019-03-30 20:33:29 +0000
commit85547954255e07aeb4a7b17e5805b206e49bc5a3 (patch)
treed67925778a26032e0274a65f9500ad901630a459
parent00941888e7bd33a15c345aaf9e72eb9223e4c75f (diff)
downloadz80count-85547954255e07aeb4a7b17e5805b206e49bc5a3.tar.gz
z80count-85547954255e07aeb4a7b17e5805b206e49bc5a3.zip
Missing sub a,(hl) case
-rw-r--r--z80table.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/z80table.json b/z80table.json
index 5702263..ce486f6 100644
--- a/z80table.json
+++ b/z80table.json
@@ -1032,6 +1032,12 @@
"w": 1
},
{
+ "regex": "^\\s*sub\\s+a,\\s*\\(hl\\)\\s*(;.*)?$",
+ "cycles": "7",
+ "case": "sub a,(hl)",
+ "w": 1
+ },
+ {
"regex": "^\\s*sub\\s+a\\s*(;.*)?$",
"cycles": "4",
"case": "sub a",