[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.

Question
[x]
Attachment Details

How do I run MASM16 to produce .s19 record?

Asked by dsmmeir in Assembly Programming Language, Winsock, MS DOS

Tags: MC68HC16Z1 Assembly Code Development Support

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
Attachments:
 
Assembly Source Code
 
 
Listing File produced by MASM16
 
 
.S19 Record File produced by MASM16
 
[+][-]05/14/09 03:10 PM, ID: 24390432Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]05/14/09 03:10 PM, ID: 24390433Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]05/15/09 01:20 AM, ID: 24393167Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/16/09 06:13 AM, ID: 24402400Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/18/09 02:52 AM, ID: 24410321Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/18/09 12:24 PM, ID: 24415561Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/18/09 12:51 PM, ID: 24415810Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625