This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

bl51 and lx51 difference

The assembly code is as following

ConfigurationDscr:

db DSCR_CONFIG_LEN ;; Descriptor length

db DSCR_CONFIG ;; Descriptor type

db (ConfigurationDscrEnd-ConfigurationDscr) mod 256 ;; Total Length (LSB)

db (ConfigurationDscrEnd-ConfigurationDscr) / 256 ;; Total Length (MSB)

ConfigurationDscrEnd:

The expression (ConfigurationDscrEnd-ConfigurationDscr) will cause invalid relocatable segment in LX51 but not in BL51. Is there any good solution ?

0