Re: Branch Instruction Summary
John Mark Mobley via Coco <coco-uNHYcr1XS/wmlAP/[email protected]>
| Newsgroups | gmane.comp.hardware.tandy.coco |
|---|---|
| Message-ID | <[email protected]> |
Allen Huffman, bhi branch if higher (unsigned >) bgt branch if greater than (signed >) -John Mark Mobley -----Original Message----- From: [email protected] <[email protected]> Sent: Tuesday, July 22, 2025 2:22 PM To: 'CoCoList for Color Computer Enthusiasts' <coco-uNHYcr1XS/wmlAP/[email protected]> Cc: 'Allen Huffman' <[email protected]> Subject: RE: [Coco] Branch Instruction Summary Allen Huffman, lda unsignedTemp1 cmpa unsignedTemp2 bhi skip1 lda signedTemp1 cmpa signedTemp2 bgt skip2 You do not have to tell add, sub, and cmp if you are working with signed or unsigned numbers. But bhi is for unsigned numbers and bgt is for signed numbers. -John Mark Mobley -- Coco mailing list Coco-uNHYcr1XS/wmlAP/[email protected] https://pairlist5.pair.net/mailman/listinfo/coco