This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Don't know how to ... ;-)

Hello everyone,

I'm using CCS V6.1 to code some piece of assembly progs.

And I don't know how to achieve the following task:

( ... some code ...)

.asg 0,udict                     ; a variable to store the next aligned 512 segment boundarie

highMem:                                                                                             ; a label

; here, I would to code something like:
;
; udict = 0x0200 - highMem
; udict = 0x01FF AND udict
; udict = udict + highMem                                                                   ; finally, the expected result

using only assembler directives.

I can't do that :(,

all I tried did not work.

Any ideas ?

BR

Claude