Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6963495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:47:58+00:00 2026-05-27T15:47:58+00:00

In HLA, how exactly the parameters stored in the activation record? I’ve read about

  • 0

In HLA, how exactly the parameters stored in the activation record?

I’ve read about the topic a lot, but
the problem is, when the parameters are any of “smaller-than-4-bytes” datatypes.

For example:

Procedure proc(VAL i:int32; VAL j:int16; VAL k:int16);@nodisplay;

(note, that all parameters are VAL)

since it isn’t mentioned anywhere, that all parameters allocate (at least) a 4-bytes blocks,
I would expect k to be on EBP+8, j on EBP+10 and i on EBP+12.

But according to a few stdout.puts, it’s not the case. (At least not on my system)
k is on EBP+8, j is on EBP+12, and i is on EBP+16.

Is there any resource pointing out, that parameters allocate 4-bytes blocks?
Or is my HLA misbehaving?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:47:59+00:00Added an answer on May 27, 2026 at 3:47 pm

    Local variables and parameters are stored on the stack, and the stack is allocated a fixed 32 bits at a time in 32-bit mode. Even if your parameters are smaller than 32 bits, they still occupy 32 bits on the stack.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am learning about packing data with assembly language (specifically HLA), which is a
Is there a high-level overview of HLA versus DIS simulation frameworks? Can one host
I am really in a great problem here. I am connecting Db2 thriugh Hibernate.
I am able to backup mysql database via command line by executing the below
Ive been trying to teach myself some very basic assembly (output to console, Arithmetic).
There are international standards, which define various high-level aspects of information exchange in distributed
Is it still worthwhile to learn ASM ? I know a little of it,
I am making a WebForm in asp.net and I want to display gridview with
I have no prior knowledge of assembly programming, and would like to learn how

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.