From 8a69bf9883985411653f766de0f28928ac844ccc Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 13 May 2019 12:40:24 -0700 Subject: . --- subx/011run.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/subx/011run.cc b/subx/011run.cc index d949f87e..236401b8 100644 --- a/subx/011run.cc +++ b/subx/011run.cc @@ -351,6 +351,8 @@ void parse_and_load(const string& text_bytes) { :(before "End Initialize Op Names") put_new(Name, "b8", "copy imm32 to EAX (mov)"); +//: our first opcode + :(before "End Single-Byte Opcodes") case 0xb8: { // copy imm32 to EAX const int32_t src = next32(); @@ -371,9 +373,6 @@ void test_copy_imm32_to_EAX() { ); } -//: our first opcode - -:(code) // read a 32-bit int in little-endian order from the instruction stream int32_t next32() { int32_t result = read_mem_i32(EIP); -- cgit 1.4.1-2-gfad0