diff --git a/Extra/x86/PROGRAM.ASM b/Extra/x86/PROGRAM.ASM
@@ -23,7 +23,7 @@ cache_sums:
mov cx, 2
mul cx ; ax = max * 2
-cache_sums_loop:
+cache_sums.loop:
call sum_digits
mov [si], bx
@@ -31,7 +31,7 @@ cache_sums_loop:
dec ax
cmp ax, 0
- ja cache_sums_loop ; while ax > 0, keep looping
+ ja cache_sums.loop ; while ax > 0, keep looping
pop ax ; Restore the value of max to ax
ret
@@ -40,12 +40,12 @@ cache_sums_loop:
; At the start of this routine ax holds the value of max
counterexpl:
mov cx, 9 ; Set the devident to 9
-counterexpl_loop:
+counterexpl.loop:
call iter
dec ax ; a -= 1
cmp ax, 0 ; if a > 0, keep looping
- ja counterexpl_loop
+ ja counterexpl.loop
call ok
ret
@@ -54,12 +54,12 @@ counterexpl_loop:
; At the start of this routine ax holds the value of a
iter:
mov bx, ax
-iter_loop:
+iter.loop:
call test_pair
dec bx
cmp bx, 0
- jae iter_loop
+ jae iter.loop
ret
; At the start of this routine ax holds the value of a
@@ -116,7 +116,7 @@ sum_digits:
mov cx, 10 ; Store the devident in cx
mov bx, 0 ; Clear the register where the result will be stored
-sum_loop:
+sum_digits.loop:
mov dx, 0 ; Clear the rest of the division
div cx ; Divide ax by cx
@@ -124,7 +124,7 @@ sum_loop:
; Loop until ax equals 0
cmp ax, 0
- ja sum_loop
+ ja sum_digits.loop
pop ax
ret
@@ -140,16 +140,16 @@ read_uint:
;mov si, ds
mov si, 5eh
-read_loop:
+read_uint.loop:
; Read a character from the command-line tail
mov bh, 0
mov bl, [si]
; Jump out of the loop at the end of the first arg
cmp bl, ' '
- jmp read_uint_end
+ jmp read_uint.end
cmp bl, 0dh
- jmp read_uint_end
+ jmp read_uint.end
; Check if it's a numeric character
cmp bl, 30h
@@ -166,9 +166,9 @@ read_loop:
; Increment the pointer to the argument string and keep looping
inc si
- jmp read_loop
+ jmp read_uint.loop
-read_uint_end:
+read_uint.end:
pop si
ret