Other Programming Languages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreOther Programming Languages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 6th, 2010, 05:36 PM
Killer-Duck Killer-Duck is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2006
Posts: 21 Killer-Duck User rank is Sergeant (500 - 2000 Reputation Level)Killer-Duck User rank is Sergeant (500 - 2000 Reputation Level)Killer-Duck User rank is Sergeant (500 - 2000 Reputation Level)Killer-Duck User rank is Sergeant (500 - 2000 Reputation Level)Killer-Duck User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 11 h 39 m 37 sec
Reputation Power: 0
[x86 asm] PUSH of immediate address

Consider the following output in OllyDbg

Code:
7743A4B8  /$ 68 FA993F77     PUSH ntdll.773F99FA


As I understand it, the program pushes the value found at the address 0x773F99FA onto the stack.

However, does it push a 8-, 16- or 32-bit value?

Reply With Quote
  #2  
Old June 7th, 2010, 09:34 AM
delnan delnan is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2009
Posts: 383 delnan User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)delnan User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)delnan User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)delnan User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)delnan User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)delnan User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)delnan User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)delnan User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)delnan User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)delnan User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)delnan User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 1 Week 7 h 31 m
Reputation Power: 0
I guess that simply depends on the processor's word size... like with (all?) other instructions

Last edited by delnan : June 7th, 2010 at 09:39 AM.

Reply With Quote
  #3  
Old June 9th, 2010, 03:08 AM
exp101t exp101t is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2006
Posts: 25 exp101t User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 53 m 45 sec
Reputation Power: 0
In your case, since the address is 32-bit sized, your stack might be in 32-bits.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreOther Programming Languages > [x86 asm] PUSH of immediate address

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap