My favorites | Sign in
Project Home Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 5: Documentation may be in error
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  vance.mo...@gmail.com
Closed:  Oct 2012
Cc:  h.paul.h...@gmail.com


 
Project Member Reported by h.paul.h...@gmail.com, Oct 18, 2012
60 XY 

CALL XY	 Calls procedure with entry point XY. Pushes return address onto the stack and changes the instruction pointer register to XY. 
PUSH reg[IP]+2 
reg[IP] := XY 
Ex: CALL 30 => machine code bytes are 60 48 
(The target of a call is usually indicated with a label rather than a numeric value.)

Shouldn't the CALL be CALL 0x30 with machine code bytes 6030?
Oct 22, 2012
Project Member #2 vance.mo...@gmail.com
Acknowledged, assigning to self.
Owner: vance.mo...@gmail.com
Oct 23, 2012
Project Member #3 vance.mo...@gmail.com
I think I just got it backwards..
What I meant to have here was:

CALL 48 => machine code bytes are 60 30

alternatively,
CALL 0X30 would be 60 30 as well.

How would you like it to read?
Cc: h.paul.h...@gmail.com
Labels: Component-Docs
Oct 23, 2012
Project Member #4 vance.mo...@gmail.com
oh, I had noticed the same issue with JMP in the doc, corrected that in R62.
Oct 23, 2012
Project Member #5 vance.mo...@gmail.com
Fixed CALL and SCALL documentation errors.
Status: Fixed

Powered by Google Project Hosting