diff options
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; |