Skip to main content
chill_just_chill
Associate III
April 7, 2003
Question

ST7 Assembler

  • April 7, 2003
  • 2 replies
  • 700 views
Posted on April 07, 2003 at 23:41

ST7 Assembler

This topic has been closed for replies.

2 replies

chill_just_chill
Associate III
April 7, 2003
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
April 7, 2003
Posted on April 07, 2003 at 23:41

cp A,#$41

jreq equal_A

...

.equal_A

...