From adef30da21ccd142cb57a93252924467e356dc6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Kujawa?= Date: Fri, 6 Apr 2018 14:26:00 +0200 Subject: [PATCH] Load the example at 0xC000, stop the emulator after running. --- examples/min3.s | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/min3.s b/examples/min3.s index 0b2a9c2..0906e45 100644 --- a/examples/min3.s +++ b/examples/min3.s @@ -1,3 +1,7 @@ +.org 0xC000 +start: jsr min3 + stp + ; min3 ; 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.