diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-08-03 23:23:39 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-08-03 23:23:39 -0700 |
commit | 12adb3da8a8979c207b2e7fd17bdb05bacefeb44 (patch) | |
tree | 12c1a96ffe7feb8b41613e0b2cead1c3919db8d9 /subx/022check_instruction.cc | |
parent | 85173b622021de062706df81947df7ae2300b654 (diff) | |
download | mu-12adb3da8a8979c207b2e7fd17bdb05bacefeb44.tar.gz |
4467
Diffstat (limited to 'subx/022check_instruction.cc')
-rw-r--r-- | subx/022check_instruction.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/subx/022check_instruction.cc b/subx/022check_instruction.cc index 1e0bf7de..97dc8140 100644 --- a/subx/022check_instruction.cc +++ b/subx/022check_instruction.cc @@ -55,10 +55,10 @@ cerr << " instructions\n"; :(scenario check_missing_imm8_operand) % Hide_errors = true; == 0x1 -# instruction effective address operand displacement immediate -# op subop mod rm32 base index scale r32 -# 1-3 bytes 3 bits 2 bits 3 bits 3 bits 3 bits 2 bits 2 bits 0/1/2/4 bytes 0/1/2/4 bytes - cd # int ?? +# instruction effective address operand displacement immediate +# op subop mod rm32 base index scale r32 +# 1-3 bytes 3 bits 2 bits 3 bits 3 bits 3 bits 2 bits 2 bits 0/1/2/4 bytes 0/1/2/4 bytes + cd # int ?? +error: 'cd' (software interrupt): missing imm8 operand :(before "End One-time Setup") @@ -584,10 +584,10 @@ void check_operands_f3(const line& /*unused*/) { :(scenario check_missing_disp16_operand) % Hide_errors = true; == 0x1 -# instruction effective address operand displacement immediate -# op subop mod rm32 base index scale r32 -# 1-3 bytes 3 bits 2 bits 3 bits 3 bits 3 bits 2 bits 2 bits 0/1/2/4 bytes 0/1/2/4 bytes - 0f 84 # jmp if ZF to ?? +# instruction effective address operand displacement immediate +# op subop mod rm32 base index scale r32 +# 1-3 bytes 3 bits 2 bits 3 bits 3 bits 3 bits 2 bits 2 bits 0/1/2/4 bytes 0/1/2/4 bytes + 0f 84 # jmp if ZF to ?? +error: '0f 84' (jump disp16 bytes away if ZF is set): missing disp16 operand :(before "End Globals") |