Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly 370 > Re: call instru...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 281 of 328
Post > Topic >>

Re: call instruction

by leon800219@[EMAIL PROTECTED] May 26, 2006 at 06:22 PM

CN99 =E5=86=99=E9=81=93=EF=BC=9A

> Hi all:
>
>     My question is what value AX will contains after the execution
follow=
ing
> code?
>
> 144D:0000 B84C14        MOV     AX,144C
> 144D:0003 8ED0          MOV     SS,AX
> 144D:0005 BC1000        MOV     SP,0010
> 144D:0008 8ED8          MOV     DS,AX
> 144D:000A B80000        MOV     AX,0000
> 144D:000D FF160E00      CALL    [000E]
> 144D:0011 40            INC     AX
> 144D:0012 40            INC     AX
> 144D:0013 40            INC     AX
>
> Here's my description:
> CALL    [000E] // Will change IP to 16, in HEX 10. So execution jump to
> execute 00(end byte of FF160E00)?
>               // (I thought execution was supposed to jump to 0, 3, 5, 8
~
> 13, but not 10)
>              // then next the first "INC     AX" will be executed? So AX
> turn out to be 3 ?

Sorry I was post this to wrong news group again, pls ignore it.
 




 2 Posts in Topic:
call instruction
"CN99" <leon  2006-05-27 09:14:12 
Re: call instruction
leon800219@[EMAIL PROTECT  2006-05-26 18:22:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 20:24:35 CDT 2008.