Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/30/11 23:41
Modified:
  04/30/11 23:43

Read: times


 
#182131 - are you sure about that?
Responding to: ???'s previous message
Jerry Hudson said:
Not all 8051 assemblers are equal:
2 months ago I fabed an s87c552-4-68 philips, layed it all out real good, man I had it going on, after board assembly, pulled out the Ye old eprom emulator, wrote the code to toggle p4.0, download, nothing happening, even had the correct Derivative configured. Now after about a week I switched over to my 8749 board, which uses a different assembler,

I'd expect an 8749 to require a different assembler, as it's not an 805x-compatible architecture. It, after all, has I/O instructions, which the 805x lacks. While 8x5x's are "source code compatible" to rather limited extent, the 8048 family, of which the 8749 is a member, is architecturally different, though somewhat similar, being the "parent" chip.

and all works fine. So my bout went on for about 2 more weeks, finally, I got
on the net and downloaded 4 more different 8051 assemblers, and after switching to another my code really works great. At first I thought "man surly
I've not lost it that bad !", Well this just goes to show assemblers are not created equal.


P.S. I went back to the first assembler and output a intel hex file from it, and out a hex file from the one that works and the files look to be a perfect match ":" and all ! org 000h


I think you may have overlooked something, aside from the apparent misstatement of which board you used in the event chain described above. The 8749 binary that you seem to have observed working correctly, is most probably not executable on an 805x core. There might be some binaries that overlap, but I have my doubts.


RE



List of 3 messages in thread
TopicAuthorDate
assemblers are not created equal            01/01/70 00:00      
   It is true            01/01/70 00:00      
   are you sure about that?            01/01/70 00:00      

Back to Subject List