Re: A86: recalling x and y variables into asm program to draw lines
[Prev][Next][Index][Thread]
Re: A86: recalling x and y variables into asm program to draw lines
In a message dated 97-09-09 03:06:25 EDT, you write:
<< > 0008 D748 CD E3 4C call _RCLX
> 0009 D74B CD 77 55 call _CONVOP1
> 0010 D74E 43 ld b, e
> 0011 D74F 53 ld d,e
> 0012 D750
> 0013 D750 CD DF 4C call _RCLY
> 0014 D753 CD 77 55 call _CONVOP1
Doesn't this destroy d?
> 0015 D756 4B ld c, e
> 0016 D757
> 0017 D757 1D dec e
> 0018 D758 1D dec e
> 0019 D759
> 0020 D759 CD E9 51 call _CLine
> 0021 D75C 26 02 ld h, 2
> 0022 D75E
> 0023 D75E 1D dec e
> 0024 D75F 14 inc d
And it looks like you need d intact.
> 0025 D760 14 inc d
> 0026 D761 14 inc d
> 0027 D762
> 0028 D762 CD E9 51 call _CLine
>
Maybe this helps?
>>
Then how can l make and run the program without trashing D?
Follow-Ups: