porting first steps asm code to GNU


.global start
[extern _k_main] ;

_start:
  call _k_main

  cli  ;
  hlt ;

$as --64 kernel_start.s
kernel_start.s: Assembler messages:
kernel_start.s:2: Error: junk at end of line, first unrecognized character is `['
$
 

Leave a Reply

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