c64-livecoding/host/routines/arithmatic/div_test.s

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