From a13f56016d10edd1bdc76cadbb0f5f7fd11e0970 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Mon, 1 May 2023 22:13:54 +0100 Subject: Added equ to assembler To define constants. --- example.asm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'example.asm') diff --git a/example.asm b/example.asm index 7d69611..694501c 100644 --- a/example.asm +++ b/example.asm @@ -3,10 +3,14 @@ ; .org 0 +; address of the frame interrupt vector +.equ INT_VECT 0xff00 + ; setup an int handler so we ; can use the frame int to sync - ld a, 0xff - ld x, 0 + ld a, >INT_VECT + ld x,