Multiboot1 Bare Bones with NASM: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
Add _start symbol type and symbol size |
m Added a note for _ prefix |
||
Line 78: | Line 78: | ||
; stack since (pushed 0 bytes so far) and the alignment is thus |
; stack since (pushed 0 bytes so far) and the alignment is thus |
||
; preserved and the call is well defined. |
; preserved and the call is well defined. |
||
; note, that if you are building on Windows, C functions may have "_" prefix in assembly: _kernel_main |
|||
extern kernel_main |
extern kernel_main |
||
call kernel_main |
call kernel_main |