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
  • That helped a great deal! But I am still receiving an error, now at link time:

       *** ERROR L220: INVALID INPUT MODULE
           MODULE:  ..\out\OS_CPU_A.obj (OS_CPU_A_ASM)
       *** Internal Reference: rdval
    'rdval' appears nowhere in my code.. Could this be a problem with the difference in object file formats mentioned in appendix D? Without the AX51 enabled, this code links, so I'm not sure where to even start..

    For giggles, I put the entire .asm file on the web. It's available at http://www.cryptofreak.org/temp/os_cpu_a.asm if it helps any.

    Thanks a bunch for the help!

Reply
  • That helped a great deal! But I am still receiving an error, now at link time:

       *** ERROR L220: INVALID INPUT MODULE
           MODULE:  ..\out\OS_CPU_A.obj (OS_CPU_A_ASM)
       *** Internal Reference: rdval
    'rdval' appears nowhere in my code.. Could this be a problem with the difference in object file formats mentioned in appendix D? Without the AX51 enabled, this code links, so I'm not sure where to even start..

    For giggles, I put the entire .asm file on the web. It's available at http://www.cryptofreak.org/temp/os_cpu_a.asm if it helps any.

    Thanks a bunch for the help!

Children