- 1、本文档共47页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
exercise Excercise_Chapter04
exercise Excercise_Chapter04
导读:就爱阅读网友为您分享以下“Excercise_Chapter04”资讯,希望对您有所帮助,感谢您对92的支持!
Chapter 4 Test Bank
Fill in the Blanks and Short Answer
Use the following data definitions until notified otherwise:
byte1 BYTE 0FFh,1,2
byte2 BYTE 14h
word1 WORD 0FFFFh,1,2
word2 WORD 3
word3 SWORD 7FFFh,8000h
word4 SWORD 9000h
dword1 DWORD 10h,20h,30h,40h
dArray DWORD 10 DUP(?)
1. Write one or more statements that move the contents of word1 to word2.
2. For each of the following instructions, indicate whether it is legal (L) or illegal (I):
a. mov byte2,0FFh
b. mov word1,byte2
c. mov word2,10000h
d. mov si,word1
3. For each of the following instructions, indicate whether it is legal (L) or illegal (I):
a. movzx ax,byte1
b. movzx edx,bl
c. movzx word2,al
d. movsx dl,al
4. Indicate the hexadecimal value of the destination operand next to each instruction. Use the letter I to indicate
that a particular instruction is illegal:
mov dx,word3
movsx eax,byte1
mov dh,al
mov bx,dx b. c. d. a.
5. Indicate the hexadecimal value of the destination operand next to each instruction. Use the letter I to indicate
that a particular instruction is illegal:
mov ax,[word3+2]
mov al,[byte1+1]
mov eax,[word3+4] a. mov eax,[dword1+4] c. d. b.
6. Where marked by a letter (a, b, c, d), indicate the hexadecimal value of the destination operand:
mov ax,word1
inc ax
dec ax
mov ax,word3
neg ax
add ax,0C2A5h a. b. c. d.
7. Where marked by a letter (a, b, c, d), indicate the hexadecimal value of the destination operand:
mov al,7Fh
add al,2
sub al,5
mov al,80h
add al,80h
neg al a: ZF,CF,SF,OF= b: ZF,CF,SF,OF= c: ZF,CF,SF,OF= d: ZF,CF,SF,OF=
8. Which instruction loads the low byte of the EFLAGS register into AH?
Irvine, Kip R. Assembly Language for Intel-Based Computers, 4th Edition 1
9. Write an instruction that moves the 32-bit address of word1 into the ESI register (assume 32-bit Protected
mode).
10. Write an instruction that moves the lower 16 bits of dword1 i
您可能关注的文档
- hp小型机 HP小型机的信息的命令集.doc
- hse作业计划书 QSHE作业计划书.doc
- hl线切割卡联网 HL线切割说明书.doc
- hdlm HDLM在AIX中安装步骤.doc
- html常用代码大全 常用代码(请熟记).doc
- html网页编程 HTML5网页编程教案_图文.doc
- HX相机调试及问题解答20150114_图文.doc
- ica算法原理 ICA原理解析.doc
- IBM Portal 7.0集群.doc
- htc g11刷机教程图解 HTC G11刷机教程_图文.doc
- 2024年江西省寻乌县九上数学开学复习检测模拟试题【含答案】.doc
- 2024年江西省省宜春市袁州区数学九上开学学业水平测试模拟试题【含答案】.doc
- 《GB/T 44275.2-2024工业自动化系统与集成 开放技术字典及其在主数据中的应用 第2部分:术语》.pdf
- 中国国家标准 GB/T 44275.2-2024工业自动化系统与集成 开放技术字典及其在主数据中的应用 第2部分:术语.pdf
- GB/T 44285.1-2024卡及身份识别安全设备 通过移动设备进行身份管理的构件 第1部分:移动电子身份系统的通用系统架构.pdf
- 《GB/T 44285.1-2024卡及身份识别安全设备 通过移动设备进行身份管理的构件 第1部分:移动电子身份系统的通用系统架构》.pdf
- 中国国家标准 GB/T 44285.1-2024卡及身份识别安全设备 通过移动设备进行身份管理的构件 第1部分:移动电子身份系统的通用系统架构.pdf
- GB/T 44275.11-2024工业自动化系统与集成 开放技术字典及其在主数据中的应用 第11部分:术语制定指南.pdf
- 中国国家标准 GB/T 44275.11-2024工业自动化系统与集成 开放技术字典及其在主数据中的应用 第11部分:术语制定指南.pdf
- 《GB/T 44275.11-2024工业自动化系统与集成 开放技术字典及其在主数据中的应用 第11部分:术语制定指南》.pdf
文档评论(0)