Crossware

Table of Contents        Previous topic       Next topic       

ASSEMBLER DIRECTIVES->Assembly Options->8051/8052/80535

8051/8052/80535

Although the instruction sets for the 8051, 8052 and 80535 microcontrollers are identical, the cross assembler needs to know which is being used for two reasons:

-     the 8052 and 80535 have additional bit addressable memory locations
-     additional data and bit addresses are predefined for the 8052.

The directive 8052 therefore instructs the cross assembler to accept the additional bit addressable memory location and to predefine the extra symbols.  The cross assembler defaults to the 8051 option.
    
8051   - recognise the 8051 memory map and generate 8051 predefined symbols
8052   - recognise the 8052 memory map and generate 8052 predefined symbols
80535  - recognise the additional 80535 memory map
Default  - recognise the 8051 memory map and generate 8051 predefined symbols

The option becomes effective at the point specified and is reset to the default setting at the end of pass 1.