I was trying to load a 32 bit const into ACC. For example, to load the 60 MHz clock value intuitively (is there a better way to do it?) , the coding has to be as below:
MOV AH, #(60000000L & 0xFFFF0000) >> 16 ; error: why?
MOV AL, #(60000000L & 0xFFFF)
I get the following error. Can someone explain why?
"testasm.asm", ERROR! at line 35: [E0000] Expecting operand delimiter
MOV AH, #(60000000L & 0xFFFF0000) >> 16
"testasm.asm", ERROR! at line 35: [E0003] Syntax error - Operand 4
MOV AH, #(60000000L & 0xFFFF0000) >> 16