cancel
Showing results for 
Search instead for 
Did you mean: 

Timer int st7263bk2

upamir2
Associate II
Posted on September 04, 2006 at 08:25

Timer int st7263bk2

1 REPLY 1
upamir2
Associate II
Posted on September 04, 2006 at 08:25

st7/

#INCLUDE ''st7263bk2.inc''

INTEL

segment byte at E000-FFDF 'rom'

segment byte at FFE0-FFFF 'vectit'

segment 'rom'

RESET:

RSP

LD A,#000100000B

LD TCR1,A

LD A,#000000100B

LD TCR2,A

CLR TSR

RIM

_1_:

NOP

JP _1_

INT:

LD A,TSR

LD TCLR,A

IRET

segment 'vectit'

vectab:

DC.W RESET ;Bos

DC.W RESET ;Bos

DC.W RESET ;Bos

DC.W RESET ;Bos

DC.W RESET ;Bos

DC.W RESET ;Bos

DC.W RESET ;Bos

DC.W RESET ;USB

DC.W RESET ;SCI

DC.W RESET ;I2C

DC.W INT ;TIMER

DC.W RESET ;EI0

DC.W RESET ;USB END SUSPEND

DC.W RESET ;Flash Start Programming Interrupt

DC.W RESET ;TRAP

DC.W RESET ;RESET

END

Have a good day.

What is wrong in this code STVD7 V3.3.2 Patch 2 simulator

enters to interrupt and cant exit.

Thanks.

M.Ugur PAMIR

Technician