1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2024-12-23 07:30:31 +00:00

Load the example at 0xC000, stop the emulator after running.

This commit is contained in:
Radosław Kujawa 2018-04-06 14:26:00 +02:00
parent 5173d10a69
commit adef30da21

View File

@ -1,3 +1,7 @@
.org 0xC000
start: jsr min3
stp
; min3 ; min3
; Takes 3 numbers (A, B, C), passed on stack, finds the minimum. ; Takes 3 numbers (A, B, C), passed on stack, finds the minimum.
; Result is also passed on stack. Assumes it is being called via jsr. ; Result is also passed on stack. Assumes it is being called via jsr.