Re: A86: Basic to Asm Variable Transfer


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

Re: A86: Basic to Asm Variable Transfer




The Thing I need to do is take any real variable (or anything else that 
basic can store a # in) then take it and store it in the b register. I 
need to do the same with a variable for the c register.
Heres an example of what I'm trying to do. (I'm also using Trents 
pursprite)
#include "ti86asm.inc"
#include "asm86.h"
       call _rclx
       ld b,(_OP1)
       call _rcly
       ld c,(_OP1)
       ld hl,sprite
       call putsprite
       ret
Does anyone know how to get this to work?

Infuzed at Zone TI


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


Follow-Ups: