Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/05/00 13:53
Read: times


 
#4899 - RE: Reset byte/bit..?
Magnus:

I suspect what you want to do is the following:

Tempo EQU 20h
AA EQU Tempo.0
BB EQU Tempo.1
...etc...

Your current code is referencing IRAM address 32h. That IRAM is not bit-addressable. Only IRAM addresses 20h through 2Fh are bit-addressable. Alternatively, you could do the assign:

Tempo EQU 32

(without the trailing "h"). 32 decimal is the same as 20h, so by just getting rid of the hex suffix on your equates will also solve your problem.

Craig Steiner


List of 4 messages in thread
TopicAuthorDate
Reset byte/bit..?            01/01/70 00:00      
RE: Reset byte/bit..?            01/01/70 00:00      
RE: Reset byte/bit..?            01/01/70 00:00      
RE: Reset byte/bit..?            01/01/70 00:00      

Back to Subject List