diff options
| author | andromeda <andromeda@lenovo> | 2026-03-09 11:00:59 +0100 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2026-03-09 11:00:59 +0100 |
| commit | 869420ef7ab2bfa8bc04c44584e55bb337d83f32 (patch) | |
| tree | 45c63df9a6d077b941b583d829e4ab86bcc49d71 /twasm/asm/tests.asm | |
| parent | 33710a8ebe229e769c7155b60e11e6f744d0137f (diff) | |
fix some bugs, work on assembler
Diffstat (limited to 'twasm/asm/tests.asm')
| -rw-r--r-- | twasm/asm/tests.asm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/twasm/asm/tests.asm b/twasm/asm/tests.asm index d5341f0..f48d8bf 100644 --- a/twasm/asm/tests.asm +++ b/twasm/asm/tests.asm @@ -403,6 +403,11 @@ test_get_tte_type: cmp al, 0x02 ; register jne .fail + mov di, 0x0056 ; mov + call get_tte_type + cmp al, 0x01 ; operator + jne .fail + mov di, 0xFFFF ; unrecognised token call get_tte_type cmp al, UNRECOGNISED_ID_TYPE @@ -439,6 +444,11 @@ test_get_tte_typed_metadata: cmp al, 0x03 ; width: 64 bits jne .fail + mov di, 0x0056 ; mov + call get_tte_typed_metadata + cmp al, 0x02 ; # operands + jne .fail + mov di, 0xFFFF ; unrecognised token call get_tte_typed_metadata cmp al, UNRECOGNISED_ID_METADATA |
