From 75e9c27ddad06906a10dddb1aad603fdc0ec4c17 Mon Sep 17 00:00:00 2001 From: andromeda Date: Mon, 23 Mar 2026 17:23:09 +0100 Subject: remove superfluous wrapper function --- twasm/asm/tests.asm | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) (limited to 'twasm/asm/tests.asm') diff --git a/twasm/asm/tests.asm b/twasm/asm/tests.asm index ab1cc5c..9d24b81 100644 --- a/twasm/asm/tests.asm +++ b/twasm/asm/tests.asm @@ -25,9 +25,6 @@ run_tests: call clear_test_arena call test_get_tte_typed_metadata - call clear_test_arena - call test_get_direct_addressing_ModRM - call clear_test_arena call test_get_opcode @@ -257,51 +254,6 @@ test_get_tte_typed_metadata: ret .msg db "test_get_tte_typed_metadata...", 0x00 -; ------------------------------------------------------------------------------ -; test_get_direct_addressing_ModRM -; -; description: -; tests get_direct_addressing_ModRM described functionality -; ------------------------------------------------------------------------------ - -test_get_direct_addressing_ModRM: - mov rsi, .msg - call print.test - - mov di, 0x0000 ; rax - mov si, 0x0000 ; rax - call get_direct_addressing_ModRM - cmp al, 11000000b ; Mod Reg R/M: 11b 000b 000b - jne .fail - - mov di, 0x0000 ; rax - mov si, 0x0003 ; rdx - call get_direct_addressing_ModRM - cmp al, 11000010b ; Mod Reg R/M: 11b 000b 010b - jne .fail - - mov di, 0x0003 ; rdx - mov si, 0x0000 ; rax - call get_direct_addressing_ModRM - cmp al, 11010000b ; Mod Reg R/M: 11b 010b 000b - jne .fail - - mov di, 0x0003 ; rdx - mov si, 0x0003 ; rdx - call get_direct_addressing_ModRM - cmp al, 11010010b ; Mod Reg R/M 11b 010b 010b - jne .fail - - .pass: - mov rsi, msg_pass - call print - ret - .fail: - mov rsi, msg_fail - call print - ret - .msg db "test_get_direct_addressing_ModRM...", 0x00 - ; ------------------------------------------------------------------------------ ; test_get_opcode ; -- cgit v1.3.1