Skip to content

Commit 319ff9f

Browse files
committed
fix hexadecimal literals
1 parent fbaab51 commit 319ff9f

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/ce/random.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,4 @@ __setstate:
136136
.section .data
137137
.local __state
138138
__state:
139-
.d32 0d0e0f10h,090a0b0ch,05060708h,01020304h
139+
.d32 0x0d0e0f10,0x090a0b0c,0x05060708,0x01020304

src/crt/and.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
.ifdef PREFER_OS_CRT
1111

1212
.set __land, 0x0001A4
13-
.set __iand, 000134h
13+
.set __iand, 0x000134
1414

1515
.else
1616

src/crt/ctlz.src

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
.type __bctlz, @function
66

77
__bctlz:
8-
cp a, 010h
8+
cp a, 0x10
99
jr c, .L.low4
10-
cp a, 040h
10+
cp a, 0x40
1111
jr c, .L.low6
1212
add a, a
1313
sbc a, a
1414
inc a
1515
ret
1616
.L.low6:
17-
add a, -020h
17+
add a, -0x20
1818
sbc a, a
1919
add a, 3
2020
ret

src/crt/fpupop2.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
__fpupop2:
88
push bc
9-
ld bc, 0800000h
9+
ld bc, 0x800000
1010
add hl, bc
1111
jr nc, .ncarry
1212
add hl, bc

0 commit comments

Comments
 (0)