[A83] 83-Plus Assembly programming header


[Prev][Next][Index][Thread]

[A83] 83-Plus Assembly programming header




Can you tell me if my code is right?  This is for TI-83 PLus and it only
causes my calc to crash:

.NOLIST
#define equ .equ
#define EQU .equ
#include "ti83plus.inc"
.LIST
.org 9D95h

begin:
	ld a,6
	cp 6
	jr z,yes
	jr nz,no

yes:
	ld a,1
	call _setxxop1
	call _stox
	ret

no:
	ld a,0
	call _setxxop1
	call _stox
	ret

.end
END

That is exactly what is in the "test.z80" file.  I compiled it with TASM and
manually removed the first 8 chars of the object code and the last two, and
then the last line.

Have I done anything wrong?


Please help me.

Thanks, Matt