Misplaced Pages

Draft:Hasm: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactivelyNext edit →Content deleted Content addedVisualWikitext
Revision as of 20:26, 24 December 2024 editSamuelbuch (talk | contribs)29 edits Hasm is under development, i willl edit once hasm is mature enough  Revision as of 00:05, 25 December 2024 edit undoSamuelbuch (talk | contribs)29 editsm fixed syntax errorNext edit →
Line 31: Line 31:
string msg = "hello world!" string msg = "hello world!"
$ strings is imultible $ strings is imultible
call stdout call stdout msg
exit 0 exit 0
</syntaxhighlight> </syntaxhighlight>

Revision as of 00:05, 25 December 2024

HASM
Designed byfirelabs-io
Developerfirelabs-io
First appeared2024; 0 years ago (2024)
Typing disciplineStrong typed
Filename extensions.hasm .hsm
Influenced by
Netwide_Assembler

The High asm or High level asm is an asm but constrcuted on top of nasm to be able code asm with some abstraction, can be used as ir to asm for compilers


syntax

close to nasm but not nasm, here snippet of code for hello world

output(ELF64)
_main:
   $ spaces are not important
   $ yes it uses $ as comment
   string msg = "hello world!"
   $ strings is imultible
   call stdout msg
   exit 0
  1. "hasm". {{cite web}}: Text "assembly" ignored (help)
Category: