|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by dsmmeir in Assembly Programming Language, Winsock, MS DOS
I am trying to run MASM16 assembly program correctly for the mc68hc16z1 microprocessor from DOS. To start, I am attaching 3 files that could help understand the issue. The ORG00ASM is a simple test source code (assembly for MC68HC16Z1 micro-controller) and 2 other files that the MASM16 produces. One is the Listing and the other is the .s19 record. As you can see the MASM16 produced an .s19 record but I have two concerns with the .s19 record itself; first, for example, the original '04FE' word in the Listing file, shows up as 'FE04' in the .S19 record file. Why does it reverse the High and Low Bytes?, Is this correct format for the EPROM programmer? It does not seem correct to me...and also there are extra characters in the .s19 record that the MASM16 produced that do not make sense. Please take a look.
Second, I need to split the s19 record from WORD to BYTE boundry so that I can burn EPROM with my programmer that has one 40-pin DIP socket. I have an EMP20 burner by Needhams Electronics but no manual. Can this programmer do the Split from word to byte? Can you suggest a utility program as to how to do that?
I have a MC68HC16Z1 development board and I am unable so far to load my real program code to test it.
Thanks
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625