First steps…

[BITS 32]
[global start]
[extern _k_main] ; this is in the c file

start:
  call _k_main

  cli  ; stop interrupts
  hlt ; halt the CPU
 

Leave a Reply

Your email address will not be published. Required fields are marked *