Added tests for db
authorLukas Krickl <lukas@krickl.dev>
Wed, 13 Dec 2023 13:37:22 +0000 (14:37 +0100)
committerLukas Krickl <lukas@krickl.dev>
Wed, 13 Dec 2023 13:37:22 +0000 (14:37 +0100)
tests/t0.bin
tests/t0.s

index 8c9962573f343d89969dc1133ea498ef0f6f34a1..c6b2e04dd11c6d338b71fd4aa2bc396154860dee 100644 (file)
Binary files a/tests/t0.bin and b/tests/t0.bin differ
index f30707bdb55d3f3d3ebd12a2da8231a93c44823f..c68724f4eae0ed712c56c668ed830a59ecad1412 100644 (file)
@@ -111,3 +111,6 @@ l3: .db 1
 @fl0:
   swap a
   ld [1], a
+.def int dbtest = 0x213
+.db (dbtest & 0xFF)
+.db (dbtest >> 8) & 0xFF