Re: A86: Basic to Asm Variable Transfer
[Prev][Next][Index][Thread]
Re: A86: Basic to Asm Variable Transfer
>Actually, bde points to the start of the data. You want to do something
like
>this:
>
> ld hl,variable_name
> rst 20h
> rst 10h
> ld a,b
> ex de,hl
> call _ABS_MOV10TOOP1
> call _convop1
>
>I don't remember what registers it will end up in. Probably ahl.
Yeah HL points to the VAT and has the page set there in the symbol table,
not in the variable data.. My bad.
I knew BDE was there. Whoa.. I didnt know they even had an _abs_mov10toop1
Thats cool. And I assume a simple real would cross a memory page boundary,
but strings and programs could, right?
Later,
Matt