Browse Source

core: make a bit more zasm-friendly

pull/10/head
Virgil Dupras 5 years ago
parent
commit
23fd493013
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      parts/z80/core.asm

+ 3
- 3
parts/z80/core.asm View File

@@ -4,8 +4,8 @@
; in your glue file.

; *** CONSTS ***
ASCII_CR .equ 0x0d
ASCII_LF .equ 0x0a
.equ ASCII_CR 0x0d
.equ ASCII_LF 0x0a

; *** DATA ***
; Useful data to point to, when a pointer is needed.
@@ -136,7 +136,7 @@ findchar:

; Format the lower nibble of A into a hex char and stores the result in A.
fmtHex:
and a, 0xf
and 0xf
cp 10
jr nc, .alpha ; if >= 10, we have alpha
add a, '0'


Loading…
Cancel
Save