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

  • Home
  • SEARCH
  • 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 8909387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:25:01+00:00 2026-06-15T03:25:01+00:00

I am reading doc to write NSIS installer. I tumbled on these lines :

  • 0

I am reading doc to write NSIS installer. I tumbled on these lines:

the instructions that NSIS uses for scripting are sort of a cross between PHP and assembly. There are no real high level language constructs, but the instructions themselves are (for the most part) high level, and you have handy string capability (i.e. you don’t have to worry about concatenating strings, etc). You essentially have 25 registers (20 general purpose, 5 special purpose), and a stack.

What does it mean that a language has got 25 registers and a stack? These are data structures. IMO these are related to memory management, not language syntax or structure. How do this relate to language structure/syntax ?

Thanks

  • 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-06-15T03:25:02+00:00Added an answer on June 15, 2026 at 3:25 am

    The documentation refers to the registers

    • $0 .. $9
    • $R0 .. $R9
    • $CMDLINE
    • $INSTDIR
    • $OUTDIR
    • $EXEDIR
    • $LANGUAGE

    You can call them variables as well, they are just pre-existing builtin global variables. The first 20 are general usage variables and the last ones have a dedicated usage in a nsis script.

    Regarding the stack, you can actually pushing and poping arbitrary values during the execution of an installer (or uninstaller), but it is in some way a high level stack as you can push not just numerical registers but also strings. And you can play with the stack by swapping values as with Forth or the RPL language of HP calculators.

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

Sidebar

Related Questions

i am reading this page http://www.cplusplus.com/doc/tutorial/exceptions.html it says if i write function() throw(); no
What's the difference between these two methods of reading an input file? 1) Using
I am reading Googletest doc , and I am learning that there is one
After reading this post and this doc , I'm trying to write a function
I was reading: http://symfony.com/doc/current/cookbook/doctrine/event_listeners_subscribers.html It appears that using Doctrine event listeners this way is
I was reading the doc, but I am still not too sure. Its says
Sorry to ask this, but with previouse reading, re-reading of doc and all the
I've been reading over the perl doc, but I can't quite get my head
I've been reading about this on StackOverflow and facebook doc, yet I dont seem
I was just reading a little bit on them from http://www.cplusplus.com/doc/tutorial/namespaces/ and it seems

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.