Re: A86:Random Integers: _convop1
[Prev][Next][Index][Thread]
Re: A86:Random Integers: _convop1
I seriously believe that Assembly Studio is wrong on this one...
I have used _convop1 before and it has always been in a, not h or l...
_________
JBrett
tbarwick@esn.net
ICQ UIN: 20607010
AIM: BarwickBJ
http://ww2.esn.net/~tbarwick
Plexus Publishing member
ACZ member
-----Original Message-----
From: Cassady Roop <croop@oregontrail.net>
To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
Date: Monday, November 30, 1998 4:45 PM
Subject: Re: A86:Random Integers: _convop1
>
>I quote a program of mine, SuckUp86, which I know works:
>...
>ld a,1 ;random number between 1 and 25 is needed
>call _SetXXOP1 ;A --> OP1
>ld a,25
>call _SetXXOP2 ;A --> OP2
>call _randint ;rand(OP1,OP2) --> OP1
>call _CONVOP1 ;OP1 --> A
>...
>
>Cassady Roop
>
>> i dunno about this one. i quote Assembly Studio 86:
>>
>> _CONVOP1 Routine
>>
>> Loads the integer value of OP1 into AHL.
>>
>> Input OP1 = value to load
>> Output AHL = integer value of OP1
>> Defined in ti86asm.inc:
>>
>> _CONVOP1 .EQU 5577h
>
Follow-Ups: