Intel 8XC196MC User Manual page 83

Table of Contents

Advertisement

8XC196MC, MD, MH USER'S MANUAL
ldb
wsr, #?WSR
add var1, var2, var3
;
;
;
ldb
wsr, [sp]
add sp, #2
ret
end
******************************
The following is an example of a linker invocation to link and locate the modules and to deter-
mine the proper windowing.
RL196 MOD1.OBJ, MOD2.OBJ registers(100h-01ffh) windowsize(32)
The above linker controls tell the linker to use registers 0100–01FFH for windowing and to use
a window size of 32 bytes. (These two controls enable windowing.)
The following is the map listing for the resultant output module (MOD1 by default):
SEGMENT MAP FOR mod1(MOD1):
TYPE
----
**RESERVED*
STACK
*** GAP ***
OVRLY
OVRLY
*** GAP ***
CODE
CODE
*** GAP ***
This listing shows the disassembled code:
2080H
;C814
2082H
;B14814
2085H
;44E4E2E0
2089H
;B21814
208CH
;65020018
2090H
;F0
2091H
;C814
2093H
;B14814
2096H
;44EAE8E6
209AH
;B21814
209DH
;65020018
20A1H
;F0
4-18
;Prolog code for wsr
;Epilog code for wsr
;Epilog code for wsr
BASE
LENGTH
----
------
0000H
001AH
001AH
0006H
0020H
00E0H
0100H
0006H
0106H
0006H
010CH
1F74H
2080H
0011H
2091H
0011H
20A2H
DF5EH
| PUSH
| LDB
| ADD
| LDB
| ADD
| RET
| PUSH
| LDB
| ADD
| LDB
| ADD
| RET
Get other manuals https://www.bkmanuals.com
ALIGNMENT
MODULE NAME
---------
-----------
WORD
WORD
MOD2
WORD
MOD1
BYTE
MOD2
BYTE
MOD1
WSR
WSR,#48H
E0H,E2H,E4H
WSR,[SP]
SP,#02H
WSR
WSR,#48H
E6H,E8H,EAH
WSR,[SP]
SP,#02H

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents