assembly language wang shuang 3rd edition answers baidu cloud

Request a pdf of Mr. Wang Shuang’s Assembly Language, 3rd edition, must be 3rd edition

Quoting someone else’s share: link

Extract code iauq

Assembly Language pdf download read online, seek Baidu net disk cloud resources

Assembly Language (Wang Shuang) ebook net disk download free online reading

Resource link:

Link: https://pan..com/s/1abD7fOsmflDLhNV5Gy98YQ

Extract code: j9b3

Title: Assembly Language

Author: Wang Shuang

Douban Rating: 9.3

Publisher: Tsinghua University Press

Publication Year: 2003-9-1

Pages: 328

Summary:

Assembly Language, ISBN: 9787302071952, Author: by Wang Shuang

Author Introduction:

Wang Shuang is a renowned computer science educator and philosopher.Born in Qiqihar, Heilongjiang Province, in 1975.He graduated from Ningxia University, majoring in computers and applications, in 1997.He pioneered the feasibility of philosophical theory system in 2007. Since 1999, he has successively put forward and practiced a series of teaching and educational ideas of great significance to the cultivation of higher professional talents, such as knowledge shielding, cluing, and multiple environments

Request Wang Shuang Assembly Language Lab 17 Answers

assumecs:code,ds:data

datasegment

strddb60000p(0);read disk contents here

dataends

codesegment

< p>start:movax,data

movds,ax

movsi,offsetstrd

movax,0

moves,ax

pushsi

popes:[204h];save data segment offset address<

pushds

popes:[206h];save data segment address

pushcs

popds

callsetup7ch;install 7ch interrupt

movax,0

moves,ax

cli

pushes:[13h*4];copy 13h interrupt offset

popes:[200h]

pushes:[13h*4+2];copy 13h interrupt segment

popes:[202h]

movwordptres:[7ch*4 ],208h;7ch interrupt entry

movwordptres:[7ch*4+2],0

sti

movah,0

movbx,9

int7ch

movax,4c00h

int21h

setup7chproc;install7ch subroutine

pushax

pushsi

pushdi

pushcx

movsi,offsetnew7ch

movax,0

moves, ax

movdi,208h

movcx,offsetnew7chend-offsetnew7ch

cld

repmovsb

popcx

popdi

popsi

popax

ret

setup7chendp

new7ch:jmpshortnstart;7ch interrupt routine

strcdb’ilovethisworld!’

nstart:pushcs

popds

pushds

popes

pushbx

cmpah,1;0 is read,1 is write

jnefread

fwrite:popbx

callsetfld;According to the logical sector provided by Mr. Shuang Wang algorithm (subroutine to calculate logical to physical sectors).

movbx,offsetstrc

movbx,offsetstrc

moval,1

movah,3

pushf

calldwordptres:[200h];call the old int13h routine, which has an entry address at 0:200H

iret

iret

fread

fread

fread

fread

fread

movah,2

pushf

calldwordptrcs:[200h]

iret

setfldproc;subroutine to compute logical to physical sectors,entry parameter bx,exit parameter:cl sector number,ch track number,dl floppy,dh column number

subroutine to calculate logical to physical sectors. dh pillar number

movax,0

movax,bx

xordx,dx

movbx,1440

divbx

xchgah,al

pushax

movax,dx

xordx,dx

movbh,0

movbl,18

divbl

movch,al

xchgah,al

movah,0

incax

movcl,al

popdx

ret

setfldendp

new7chend:nop

codeends

endstart

Assembly language Wang Shuang topic for the answer

POPAX; that the current top of the stack to point to the content of the first to send AX, according to the previous instruction to know at this time SS = 2000H, SP = 0010H, that is to say, it is to put the (SS:SP) – > (AX), the physical address is 20010H, and then SP + 2 –>SP,SP becomes 0012H.

POPBX;(SS:SP)–>(BX),physical address is 20012H,then SP+2–>SP,SP becomes 0014H