[Coco] assembly language question.

Gene Heskett gene.heskett at verizon.net
Wed Feb 3 22:59:46 EST 2010


On Wednesday 03 February 2010, jdaggett at gate.net wrote:
>Gene
>
>The operation is always
>
>R - M
>
>where R is the register and M is either a second register or memory. CCR is
> set according to the results and addressing mode.
>
>In your case the MPU would take $02FA and subtract $000A. The subtraction
> instruction will affect the N, Z, V or C bits. The BLO instruction tests
> the C bit and will issue a branch if and only if the CBIT = 1. In this
> case there is no borrow so the CBIT will be zero and no branch taken.
>
>james
>
Confirming my aged wet ram's memory of it.  Thanks James.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)

panic: can't find /



More information about the Coco mailing list