summaryrefslogtreecommitdiff
path: root/asmmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'asmmon.c')
-rw-r--r--asmmon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/asmmon.c b/asmmon.c
index 43811f7..7467985 100644
--- a/asmmon.c
+++ b/asmmon.c
@@ -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;