- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to call a function by aCC inline assembly
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2012 11:14 PM
01-11-2012 11:14 PM
Re: how to call a function by aCC inline assembly
>still don't know what exactly the called function does to find the inputted parms.
You need to simulate and reverse engineer in your head what it does.
>can you please describe more details? till now, I can't find useful document of this.
7.1 Procedure Frames
>if I pass int, double, int, double by stack, how are they placed?
sp+0x20 -> int
sp+0x28 -> double
sp+0x30 -> int
sp+0x38 -> double
These would be parms 9 .. 12. If you took the address of these in the callee, p1 .. p8 would be stored into sp-0x30 to sp+0x18.
The two int (4 byte) parms would be stored right justified:
sp+0x24 -> int
sp+0x34 -> int
- « Previous
-
- 1
- 2
- Next »