cancel
Showing results for 
Search instead for 
Did you mean: 

ST7 Assembler

chill_just_chill
Associate II
Posted on April 07, 2003 at 23:41

ST7 Assembler

2 REPLIES 2
chill_just_chill
Associate II
Posted on April 07, 2003 at 14:03

Hello,

how can I say in st7 assembler:

if ( A =='A') { goto labelA; }

I need to check if the register A had the ASCII value of 'A'

if TRUE, I need to jump to a function

ELSE go on

TIA

Christophe
yu-jun
Associate II
Posted on April 07, 2003 at 23:41

cp A,#$41

jreq equal_A

...

.equal_A

...