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

Code works in A51, not in Dallas contiguous mode

I'm trying to port uC/OS for use in a Dallas 5240. It works well when I use the standard linker/assembler but breaks when I switch to the extended versions.

When I assemble, I get five of these:

   OS_CPU_A.ASM(166): error A45: UNDEFINED SYMBOL
And yet, on line 138, the following appears:

 PUSHA MACRO
   IRP REG, <ACC, B, DPH, DPL, PSW, 0, 1, 2, 3, 4, 5, 6, 7>
   PUSH REG
   ENDM
   ENDM
Some other macros break as well. Any hints as to what I might be doing wrong?

Thanks in advance for any help!

Parents Reply Children
  • It was my thinking that some of the memory regions might be invalidated by the switch to the extended assembler/linker.

    Or perhaps MOVX instructions work differently?

    Could it be that some syntax is changed in the extended versions and isn't caught at compile time?