diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-05-13 12:40:24 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-05-13 12:40:24 -0700 |
commit | 8a69bf9883985411653f766de0f28928ac844ccc (patch) | |
tree | f45c9bf250d1a275bc58b75f1ec8538611a5fcef | |
parent | 59a04f794f45864fe0901a9747ca24cfc41a9bb4 (diff) | |
download | mu-8a69bf9883985411653f766de0f28928ac844ccc.tar.gz |
.
-rw-r--r-- | subx/011run.cc | 5 |
1 files 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); |