??? 03/16/06 06:31 Read: times |
#112278 - Not Really Responding to: ???'s previous message |
Thats C grammer to represent the Hex numbers. Assemblers may not support that kind of notation. here problem is the number has not been represented according to the grammer and creating ambiguity(see what Jan wek said below). here is an example C0: DS 1 ;define a varible named C0 mov R0,#C0 ;load R0 with the address of C0 mov A,@R0 ;self explanatory and mov R0,#C0 ;load R0 with a constant how will compiler know that #C0 is an variable or a constant. the compiler differentiate them like Jan already stated. Abhishek |
Topic | Author | Date |
Help with compiler error | 01/01/70 00:00 | |
get a C book | 01/01/70 00:00 | |
Problem solved | 01/01/70 00:00 | |
first it is NOT a compiler, second all a | 01/01/70 00:00 | |
What Assembler? | 01/01/70 00:00 | |
Next time write this way... | 01/01/70 00:00 | |
Not Really | 01/01/70 00:00 | |
Incorrect? | 01/01/70 00:00 | |
intel inside![]() | 01/01/70 00:00 | |
assembler error | 01/01/70 00:00 | |
Compiler vs Assembler | 01/01/70 00:00 | |
Precedence ;-) | 01/01/70 00:00 | |
Leading zero needed bit 7 is high | 01/01/70 00:00 | |
letter -> variable name | 01/01/70 00:00 |