From 732aa2803fa35065ad68b28ba691d09ad06e3b7c Mon Sep 17 00:00:00 2001 From: Abdelrahman Said Date: Sun, 19 Mar 2023 23:22:18 +0000 Subject: [PATCH] Update --- 8086_assembly_01/dasm.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/8086_assembly_01/dasm.cpp b/8086_assembly_01/dasm.cpp index 281e1b9..b3ce531 100644 --- a/8086_assembly_01/dasm.cpp +++ b/8086_assembly_01/dasm.cpp @@ -58,7 +58,6 @@ int main(int argc, char *argv[]) { (inst & (uint16_t)FLAGS::REG_DEST) == (uint16_t)FLAGS::REG_DEST; bool word = (inst & (uint16_t)FLAGS::WORD) == (uint16_t)FLAGS::WORD; - // NOTE: Using right shift will only work on little-endian CPUs uint16_t operands_info = inst >> 8; if (decode_mode(operands_info) == (uint16_t)MODE::REG) {