diff options
author | Kartik Agaram <github@akkartik.com> | 2020-10-22 14:13:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-22 14:13:36 -0700 |
commit | 3bb27a628a52f7df9f8b181206a978446fe103b6 (patch) | |
tree | e5d257e0ece7eb576d38d5dde208de51a7d679ad /014indirect_addressing.cc | |
parent | c82d149b3f92cccdbaa054e7ee4ecb814b523fec (diff) | |
parent | cff2cd82c2ea564003d5e4906cf701724772064d (diff) | |
download | mu-3bb27a628a52f7df9f8b181206a978446fe103b6.tar.gz |
Merge pull request #43 from tekknolagi/main
Use size-specific MAX/MIN constants
Diffstat (limited to '014indirect_addressing.cc')
-rw-r--r-- | 014indirect_addressing.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/014indirect_addressing.cc b/014indirect_addressing.cc index 36b680ca..7df0aae3 100644 --- a/014indirect_addressing.cc +++ b/014indirect_addressing.cc @@ -99,7 +99,7 @@ void test_add_mem_at_rm32_to_r32_signed_overflow() { void test_add_mem_at_rm32_to_r32_unsigned_overflow() { Reg[EAX].u = 0x2000; - Reg[EBX].u = UINT_MAX; + Reg[EBX].u = UINT32_MAX; run( "== code 0x1\n" // op ModR/M SIB displacement immediate |