diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2019-12-13 13:14:24 -0500 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2019-12-13 13:14:24 -0500 |
commit | c6d71bcf0e545a490fdeb0dfcafea2d5a02157c6 (patch) | |
tree | 559eefbfde2cdddfe33a6b59950f3db56a3def78 /asmmon.c | |
parent | 9526483f93b5950ecfa81a93f30b617bec22dfe1 (diff) |
Added support for specifying the number of bytes as
the suffix.
I added this because BieHDC said the already existing
notation glowed in the dark too much.
Diffstat (limited to 'asmmon.c')
-rw-r--r-- | asmmon.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -570,11 +570,11 @@ int asmmon() { } } if (postfix != NULL && !(done & 8)) { - if (strcasecmp(postfix, "w") == 0) { + if (!strcasecmp(postfix, "w") || !strcasecmp(postfix, "2")) { addr[address++] = 0x17; - } else if (strcasecmp(postfix, "d") == 0) { + } else if (!strcasecmp(postfix, "d") || !strcasecmp(postfix, "4")) { addr[address++] = 0x27; - } else if (strcasecmp(postfix, "q") == 0) { + } else if (!strcasecmp(postfix, "q") || !strcasecmp(postfix, "8")) { addr[address++] = 0x37; } else { done |=8; |