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

OMF records

I am trying to import object files created by KEIL C51 compiler by my own pascal compiler. There are a lot of records not documented in the OMF51 documentation like 07, 09, 0F, 17, 19, 20, 23, 24, etc. Where can I get documentation for these records?

Parents Reply Children
  • No, I am not making any emulator yet. I am writing a Pascal compiler for the 8051 family (well, it is almost done) and I'm trying to import object files created by KEIL compiler.

    I can not use HEX files since these files are absolute, i.e. there is no relocation information. They can not be used in linker.

  • Sorry, I read through the posts again, and saw that you mentioned the compiler earlier. So I guess the emulator was just a type-o.

    Yes, I think the compiler can replace the OMF. And the reference assignment is the same, so no need to change the details.