Revision as of 00:48, 25 December 2024 editSamuelbuch (talk | contribs)29 edits added more← Previous edit | Latest revision as of 21:54, 25 December 2024 edit undoCitation bot (talk | contribs)Bots5,408,027 edits Added website. | Use this bot. Report bugs. | Suggested by Jay8g | Category:CS1 errors: unrecognized parameter | #UCB_Category 35/43 | ||
(8 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Draft article}} | |||
{{Infobox programming language | {{Infobox programming language | ||
| name = HASM | | name = HASM | ||
| logo = | | logo = | ||
| paradigm = | | paradigm = | ||
| year = {{start date and age|2024}}<ref>{{cite web|url=https://github.com/firelabs-io/HASM|title=hasm|assembly}}</ref> | | year = {{start date and age|2024}}<ref>{{cite web|url=https://github.com/firelabs-io/HASM|title=hasm|website=] |assembly}}</ref> | ||
| designer = ] | | designer = ] | ||
| developer = ] | | developer = ] | ||
Line 13: | Line 14: | ||
| implementations = | | implementations = | ||
| dialects = | | dialects = | ||
| influenced_by = ] | | influenced_by = ] | ||
| operating_system = | | operating_system = | ||
| license = | | license = | ||
Line 19: | Line 20: | ||
| file_ext = .hasm .hsm | | file_ext = .hasm .hsm | ||
}} | }} | ||
{{UserboxCOI|1=hasm_(programming_language)}} | |||
The '''High asm''' or '''High level asm''' is an asm but |
The '''High asm''' or '''High level asm''' is an asm but constructed on top of nasm to be able code asm with some abstraction, can be used as ir to asm for compilers | ||
== syntax == | == syntax == | ||
Line 61: | Line 62: | ||
exit c | exit c | ||
</syntaxhighlight> | </syntaxhighlight> | ||
since a is less |
since a is less than b, c is 0 | ||
and use lc to call labels | |||
<syntaxhighlight> | |||
output(ELF64) | |||
test: | |||
string msg1 = "hello world!" | |||
call stdout msg1 | |||
_main: | |||
lc msg1 | |||
exit 0 | |||
</syntaxhighlight> | |||
==References== | |||
{{Reflist}} | |||
{{Draft categories| | |||
] | ] | ||
}} | |||
{{improve categories|date=December 2024}} | |||
{{Drafts moved from mainspace|date=December 2024}} |
Latest revision as of 21:54, 25 December 2024
This is a draft article. It is a work in progress open to editing by anyone. Please ensure core content policies are met before publishing it as a live Misplaced Pages article.
Find sources: Google (books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL Last edited by Citation bot (talk | contribs) 2 seconds ago. (Update) Finished drafting? Submit for review or Publish now |
Designed by | firelabs-io |
---|---|
Developer | firelabs-io |
First appeared | 2024; 0 years ago (2024) |
Typing discipline | Strong typed |
Filename extensions | .hasm .hsm |
Influenced by | |
Netwide Assembler |
This user has publicly declared that they have a conflict of interest regarding the Misplaced Pages article hasm_(programming_language). |
The High asm or High level asm is an asm but constructed 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
for comparasion you use command c a b where command can be more, less or equals
this case:
output(ELF64) _main: int a = 2 int b = 2 int c = 0 equal c a b exit c
since a and b is equal c is 1 (1 == true, 0 == false)
output(ELF64) _main: int a = 1 int b = 2 int c = 0 more c a b exit c
since a is less than b, c is 0
and use lc to call labels
output(ELF64) test: string msg1 = "hello world!" call stdout msg1 _main: lc msg1 exit 0
References
This page will be placed in the following categories if it is moved to the article namespace.Categories:This page needs additional or more specific categories. Please help out by adding categories to it so that it can be listed with similar articles. (December 2024) |
Category: