flat assembler
Message board for the users of flat assembler.
Index
> Main > [solved] Public is an illegal instruction |
Author |
|
revolution 02 May 2015, 05:55
You have to set the output format correctly for public to be usable. Unfortunately you haven't given enough detail in the code you posted for us to determine what is actually wrong.
|
|||
02 May 2015, 05:55 |
|
crank123 02 May 2015, 05:56
Sorry, here's all of it:
Code: use64 public start as '_start' extrn os_main start: call os_main ; Calls the main function in the Cs file cli ; Clear interrupts hlt ; Halt the CPU However, specifying a format fixed it! Thank you! |
|||
02 May 2015, 05:56 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.