Re: A86: Asm newbie question Part 2


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

Re: A86: Asm newbie question Part 2




Eble - check the faq on cyber optic's page for the list he made.

Andres Garcia
-----Original Message-----
From: Trey Jazz <joemama@minot.com>
To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
Date: Tuesday, February 03, 1998 1:24 AM
Subject: Re: A86: Asm newbie question Part 2


>
>hmmm its been around for a while, im not sure who actually found it first.
>eble? mardell?
>-----Original Message-----
>From: Andy S Johnson <the_laser@juno.com>
>To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
>Date: Monday, February 02, 1998 11:30 PM
>Subject: Re: A86: Asm newbie question Part 2
>
>
>>
>>I was wondering where this call came from.  Everybody seems to know about
>>it except me.  Has someone produced a list of rom calls such as this that
>>I missed?
>>---
>>Andy Johnson
>>"Change is inevitable...
>>     except from vending machines"
>>
>>On Mon, 02 Feb 1998 01:35:41 -0500 Stephen Hicks <shicks@MindSpring.Com>
>>writes:
>>>
>>>Ok, if you have a number that you just POPed into BC, and you want to
>>>display it, then you want to move the value in BC into HL, and zero
>>>out A so
>>>that AHL is equal to what BC was.  AHL is a 24-bit register pair
>>>(somewhat
>>>makeshift - the CPU does not directly support it).  In plain assembly,
>>>you
>>>want to do the following:
>>>
>>> ld l,c     ;copy the lower byte of BC into HL
>>> ld h,b    ;copy the upper byte of BC into HL
>>> xor a     ;zero out A.  I'm a little rusty at asm, and not sure if
>>>this one
>>>is exactly correct...
>>> call $4a33   ;display AHL
>>
>>_____________________________________________________________________
>>You don't need to buy Internet access to use free Internet e-mail.
>>Get completely free e-mail from Juno at http://www.juno.com
>>Or call Juno at (800) 654-JUNO [654-5866]
>>
>
>


Follow-Ups: