Add octal support
This commit is contained in:
@@ -34,6 +34,7 @@ jl next_test
|
||||
; Done
|
||||
halt
|
||||
|
||||
|
||||
include ../src/stdlib
|
||||
|
||||
@0x20000
|
||||
@@ -43,7 +44,9 @@ tests:
|
||||
@0x20000 U32 0b0 U8 2 "0\0"
|
||||
@0x20040 U32 0xFFFFFFFF U8 2 "11111111111111111111111111111111\0"
|
||||
@0x20080 U32 0b101010 U8 2 "101010\0"
|
||||
@0x200c0
|
||||
@0x200c0 U32 0o640 U8 8 "640\0"
|
||||
@0x20100 U32 0xFFFFFFFF U8 8 "37777777777\0"
|
||||
@0x20140
|
||||
end_of_tests:
|
||||
scratch: U1024 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user