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) {