mikeakohn / naken_asm

Assembler for MSP430, dsPIC, ARM, MIPS, 65xx, 68000, 8051/8052, Atmel AVR8, and others.
http://www.mikekohn.net/micro/naken_asm.php
GNU General Public License v3.0
294 stars 50 forks source link

extend 8051 bit addressable range and bit name aliases #104

Closed cjacker closed 2 years ago

cjacker commented 2 years ago

Modern mcs-51 products such as C8051F, STC12/15/8x series provide more I/O ports and it's bit adressable. The range 0x20 to 0x2F of original MCS-51 design is not enough for programming of modern 51 products.

According to C8051Fx and STC12/15/8x datasheets, These changes:

1, extend address map to support more I/O ports and it's bit addressable. 2, extend bit name aliases map 3, extend bit addressable range.

For bit name aliases not pre-defined here, users can define it using 'equ' and put them in an 'include' file.