Skip to content

Commit e6ca130

Browse files
committed
fixed assembly whitespace
1 parent 355c742 commit e6ca130

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+456
-456
lines changed

src/ce/atomic_load_32.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ _atomic_load_32:
1717
; getting caught in an endless loop of the value changing between reads with a
1818
; fixed period equal to the amount of time it takes for each retry
1919
inc c
20-
ld b,c
20+
ld b, c
2121
.L.wait:
2222
djnz .L.wait
2323
; Read the value twice.

src/ce/debug.src

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66

77
_dbg_Debugger:
88
scf
9-
sbc hl,hl
10-
ld (hl),2
9+
sbc hl, hl
10+
ld (hl), 2
1111
ret
1212

13-
.section .text._dbg_WatchpointSet
13+
.section .text._dbg_WatchpointSet
1414
.global _dbg_WatchpointSet
1515
.type _dbg_WatchpointSet, @function
1616

@@ -46,7 +46,7 @@ _dbg_WatchpointSet:
4646
ld (hl), 3
4747
ret
4848

49-
.section .text._dbg_WatchpointRemoveAll
49+
.section .text._dbg_WatchpointRemoveAll
5050
.global _dbg_WatchpointRemoveAll
5151
.type _dbg_WatchpointRemoveAll, @function
5252

src/ce/eval.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ _os_Eval:
6767
call $20F30 ; stoans
6868
call $2079C ; pop error handler
6969
xor a, a
70-
.L_os_Eval.error:
70+
.L_os_Eval.error:
7171
pop de
7272
push af
7373
call $20E80 ; fixtempcnt

src/ce/getstringinput.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ _os_GetStringInput:
142142
sbc hl, bc ; decrement and compare to buf start
143143
add hl, bc
144144
jr nz, .L.clear_loop
145-
ex de,hl
145+
ex de, hl
146146
ld (ti.curRow), hl
147147
jp .L.start
148148

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 0d0e0f10h,090a0b0ch,05060708h,01020304h

src/ce/runprgm.src

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ _os_RunPrgm:
177177
; relocated functions
178178
; ---------------------------------------------------------------
179179

180-
.section .runprgm.reloc, "awx", @progbits
180+
.section .runprgm.reloc, "awx", @progbits
181181
launch_asm_prgm:
182182
call delete_running_prgm
183183
call setup_prgm_state
@@ -249,7 +249,7 @@ setup_temp_parser_hook:
249249
jr nz, .L.chain_hook
250250
.L.no_chain:
251251
ld hl, stub.chain
252-
ld (hl), 0xAF ; xor a,a
252+
ld (hl), 0xAF ; xor a, a
253253
inc hl
254254
ld (hl), 0xC9 ; ret
255255
ret
@@ -312,7 +312,7 @@ push_stub:
312312
ld hl, 0
313313
.equ push_stub.prev_sp, $-3
314314
push hl
315-
ld hl,0
315+
ld hl, 0
316316
.equ push_stub.data_size, $-3
317317
push hl
318318
ld hl, 0
@@ -412,7 +412,7 @@ stub.hook_parser:
412412
jp z, ti.JError
413413
ld a, 2
414414
stub.chain:
415-
jp 0 ; xor a,a \ ret if not chaining
415+
jp 0 ; xor a, a \ ret if not chaining
416416
.L.found:
417417
call ti.ChkInRam
418418
ex de, hl
@@ -430,7 +430,7 @@ stub.chain:
430430
ld bc, (ti.asm_prgm_size)
431431
ld de, ti.userMem
432432
ldir
433-
ld de,0
433+
ld de, 0
434434
.equ stub.callback, $-3
435435
pop bc ; data size
436436
pop hl ; data

src/ce/sleep_common.src

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.assume adl=1
1+
.assume adl=1
22
.section .text
33
.global ___sleep_common
44
.type ___sleep_common, @function
@@ -40,7 +40,7 @@ ___sleep_common.3:
4040
ld a, e ; auhl = now
4141
pop de
4242
pop bc ; dubc = end
43-
; or a, a
43+
; or a, a
4444
sbc hl, bc
4545
sbc a, e ; auhl = now - end
4646
; ^ 48 cc

src/ce/zx0.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ dzx0t_elias_loop:
104104
add a, a
105105
jr nc, dzx0t_elias_loop
106106
ret nz
107-
ld a, (hl) ; load another group of 8 bits
107+
ld a, (hl) ; load another group of 8 bits
108108
inc hl
109109
rla
110110
jr nc, dzx0t_elias_loop

src/crt/bbitrev.src

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@
66

77
__bbitrev:
88
push bc
9-
ld b,a ; b=ABCDEFGH
10-
rrca ; a=HABCDEFG
11-
rrca ; a=GHABCDEF
9+
ld b,a ; b=ABCDEFGH
10+
rrca ; a=HABCDEFG
11+
rrca ; a=GHABCDEF
1212
xor a,b
1313
and a,$aa
14-
xor a,b ; a=GBADCFEH
15-
ld b,a ; b=GBADCFEH
16-
rrca ; a=HGBADCFE
17-
rrca ; a=EHGBADCF
18-
rrca ; a=FEHGBADC
19-
rrca ; a=CFEHGBAD
14+
xor a,b ; a=GBADCFEH
15+
ld b,a ; b=GBADCFEH
16+
rrca ; a=HGBADCFE
17+
rrca ; a=EHGBADCF
18+
rrca ; a=FEHGBADC
19+
rrca ; a=CFEHGBAD
2020
xor a,b
2121
and a,$66
22-
xor a,b ; a=GFEDCBAH
23-
rrca ; a=HGFEDCBA
22+
xor a,b ; a=GFEDCBAH
23+
rrca ; a=HGFEDCBA
2424
pop bc
2525
ret

src/crt/crt.src

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
.section .init.weak_crt,"ax",@progbits
44

5-
; hacks to get the icon and description to be included,
6-
; since the real crt overrides the weak
5+
; hacks to get the icon and description to be included,
6+
; since the real crt overrides the weak
77

8-
.weak __start
8+
.weak __start
99
__start:
10-
ld hl, ___description
11-
ld hl, ___icon
12-
ld hl, _main
13-
ld hl, ___main_argc_argv
10+
ld hl, ___description
11+
ld hl, ___icon
12+
ld hl, _main
13+
ld hl, ___main_argc_argv
1414

15-
.extern ___main_argc_argv
16-
.extern _main
17-
.extern ___icon
18-
.extern ___description
15+
.extern ___main_argc_argv
16+
.extern _main
17+
.extern ___icon
18+
.extern ___description

0 commit comments

Comments
 (0)