[A83] Re: Error in SDK Documentation?


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

[A83] Re: Error in SDK Documentation?




Yeah, there are some minor errors like that in the SDK.  This is one of
them.  VPutMap preserves HL and BC.

-Dan Englender

----- Original Message -----
From: "Thomas Lutz" <tlutz@stevens-tech.edu>
To: <assembly-83@lists.ticalc.org>
Sent: Tuesday, January 15, 2002 4:23 PM
Subject: [A83] Error in SDK Documentation?


> I was wondering if all the information in the SDK is completely
> accurate.I've used VPutMap in loops to print out a null terminated
> string, or something similar. I never preserve HL, yet this loop seems
> to work fine. In the SDK, it says that VPutMap destroys "All but
> BC".Here's an example loop.
>
>
> ld hl,Text
> call VPutFF
> ret
>
>
> VPutFF:
>             ld a,(hl)
>             inc hl
>             cp 0ffh
>             ret z
>             B_CALL VPutMap
>             jr VPutFF
>
>
> Text: db "Example Code",0ffh
>
>
>





References: