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

about asm !

Hello:
I have learned C-language,but not applied.And now I'm studing Keil c based on 89plc936.Before I also programed on AT89S51 with asm.So I have some trouble in learning MACRO of asm and C.eg:


NAME HUNHUI
?PR?_a_func?HUNHUI SEGMENT CODE
?DT?_a_func?HUNHUI SEGMENT DATA OVERLAYABLE
?DT?HUNHUI SEGMENT DATA
; PUBLIC chai
PUBLIC ?_a_func?BYTE
PUBLIC _a_func

RSEG ?DT?_a_func?HUNHUI
?_a_func?BYTE:
aa:DS 1
RSEG ?DT?HUNHUI
chai:DS 1
RSEG ?PR? _a_func?HUNHUI
_a_func:

how assemblier to process it, and the same in the c?

0