A86: Re: store num to op1


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

A86: Re: store num to op1




_setxxop1 equ 4613h    ;sets the value of the a register into op1
_convop1 equ 426Fh    ;converts OP1 to a
I would also like to know a call to round an integer to the nearest number.
--------------
Jbrett
tbarwick@esn.net
http://ww2.esn.net/~tbarwick
I just added a TI-86 page, Check it out!!!   
-----Original Message-----
From: BrncAvFan2@aol.com <BrncAvFan2@aol.com>
To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
Date: Friday, August 28, 1998 12:21 AM
Subject: A86: store num to op1


>
>How would I store a number to op1?  Would I do something like this:
>
>ld a,5
>ld (hl),a
>call _LD_OP1_RIHL
>
>Also, is there an "int" command that rounds the numbers to the closest
>integer?
>
>THANX
>Dan
>
>P.S.-It has been bothering me that everybody has a name like ScaBBY or
>something like that.  Could anybody tell me why?
>