From: Lukas Krickl Date: Wed, 13 Dec 2023 13:37:22 +0000 (+0100) Subject: Added tests for db X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=670c416610c5b64cd39357ac3278c3cd9ccac063;p=ulas%2F.git Added tests for db --- diff --git a/tests/t0.bin b/tests/t0.bin index 8c99625..c6b2e04 100644 Binary files a/tests/t0.bin and b/tests/t0.bin differ diff --git a/tests/t0.s b/tests/t0.s index f30707b..c68724f 100644 --- a/tests/t0.s +++ b/tests/t0.s @@ -111,3 +111,6 @@ l3: .db 1 @fl0: swap a ld [1], a +.def int dbtest = 0x213 +.db (dbtest & 0xFF) +.db (dbtest >> 8) & 0xFF