c64-livecoding/wip-hugo/routines/arithmatic/div_test.s
2025-05-17 16:12:13 +02:00

10 lines
265 B
ArmAsm

;;; -*- Mode: asm; indent-tabs-mode: t; tab-width: 8 -*-
;;Calculates $EE /$05 = $33
.scope div_test
.include "arithmatic.inc"
LDA #$05
STA VAL_A
LDA #$02
STA VAL_B
JSR div; X = $02 if it works as it should
.endscope