Re: A85: Pixel mover
[Prev][Next][Index][Thread]
Re: A85: Pixel mover
2's complement :
-7 = NOT(00000111b)+1=11111000b+1=11111001b = F9h
So add a,$f9 adds -7 to a.
Dines
-----Original Message-----
From: Erik L Gillespie <egillespie@juno.com>
To: assembly-85@lists.ticalc.org <assembly-85@lists.ticalc.org>
Cc: assembly-85@lists.ticalc.org <assembly-85@lists.ticalc.org>
Date: 11. november 1997 21:30
Subject: Re: A85: Pixel mover
>i probably know this but can't think of what the answer is
>why would
>
>add a, $F9
>
>subtract 7 from a?
>
>Wyrmlord
>egillespie@juno.com
>
_______________________________________
Dines Justesen
Email: dines@post1.com or
c958362@student.dtu.dk
WWW : http://www.gbar.dtu.dk/~c958362/
_______________________________________