AX51: ACCESSING EXTENDED CODE SPACE THE DS80C400
Information in this article applies to:
Can I access the extended code space above 0x10000 on the Dallas 400 from inside an assembly module?
You can, if the device is in 16Mb contiguous mode. To set 16Mb mode, use the following instructions:
mov TA, #0AAh mov TA, #055h mov ACON, #02h
To locate a piece of code in the extended (ECODE) area, declare a segment, as follows:
myseg SEGMENT ECODE AT 0x10000 RSEG myseg (your code here)
...then simply ljmp to, or lcall, your code in extended code space.
Last Reviewed: Tuesday, June 1, 2004
of your data.