From 23fd493013ef0e8be1880e4f88bf5737c2bf3dd2 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Tue, 14 May 2019 16:42:44 -0400 Subject: [PATCH] core: make a bit more zasm-friendly --- parts/z80/core.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/parts/z80/core.asm b/parts/z80/core.asm index 546ae2c..8dca25b 100644 --- a/parts/z80/core.asm +++ b/parts/z80/core.asm @@ -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'