Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Parrot assembly language
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{needs more citations|date=January 2021}} The '''Parrot assembly language''' ('''PASM''') is the basic [[assembly language]] used by the [[Parrot virtual machine]].{{fact|date=November 2021}} PASM is the lowest level assembly language in the Parrot stack. The [[Parrot intermediate representation]] (PIR) is PASM extended to simplify development of compilers. The [[hello world program]] in PASM is simply: print "Hello world!\n" end Although it appears similar to [[source code]] in some [[high-level programming language]]s, more complex PASM programs will resemble other assembly languages. The main exceptions to this [[Low-level programming language|low level programming]] in PASM are string handling and, as shown above, input and output. Additionally, PASM has automatic [[garbage collection (computer science)|garbage collection]] from the virtual machine, and it does not allow [[pointer arithmetic]]. Parrot assembly language has more instructions than hardware assembly languages, even [[Complex instruction set computer|CISC]] processors. This is because the [[marginal cost]] of creating a new instruction in Parrot is low compared to the marginal cost of doing so in hardware, and the creators of Parrot had no particular goal of [[Minimalism (computing)|minimalism]]. ==External sources== {{Portal|Free and open-source software}} ==References== {{Reflist}} {{DEFAULTSORT:Parrot Assembly Language}} [[Category:Assembly languages]] [[Category:Perl]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Fact
(
edit
)
Template:Needs more citations
(
edit
)
Template:Portal
(
edit
)
Template:Reflist
(
edit
)