?
Solved

ASM196 DCW directives

Posted on 2003-03-21
3
Medium Priority
?
340 Views
Last Modified: 2008-02-01
I am currently doing the debugging of assembly codes for 80296SA chip. I do have the definition of all the possible directives in ASM196 but the problem is its vague definition. I have this segment of code which is written as follows:

DCW      03H        ; NUMBER OF WORDS DIFFERENT FROM STANDARD
                   ;                                    
DCW    0002H,0843H ; 0002h = ADDRESS, 43h = DEFAULT DATA    
                ; 0003h = ADDRESS, 08h = DEFAULT DATA

Further explanation on the meaning of how the directive is being used is much appreciated...thanks.    
0
Comment
Question by:ray_ars
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
dimitry earned 200 total points
ID: 8185796
According to A196 assembler spec:
Function: Defines a word constant in a const or code segment.
Syntax:
[ label:] dcw expression [,...]
Therefore it is constant definition. But it is also used
to set interrupt services if it is used in code segment:
  cseg at 02030h
  dcw Transmit_ISR
It simply sets at the beginning of 02030h segment address of Transmit_ISR (function name)
0
 

Author Comment

by:ray_ars
ID: 8189402
Thank you very much. Would you mine giving me some sites that I could refer in the future pertaining to A196 assembler?
0
 
LVL 11

Expert Comment

by:dimitry
ID: 8189452
Actually Intel has a lot of information about 80196:
http://www.intel.com/design/MCS96/docs_mcs96.htm
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
I originally wrote this article to compare SARDU and YUMI, but have now added Easy2Boot, since that is the one I currently use and find the easiest to create and alter.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month8 days, 18 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question