.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 `[‘ $
Tag Archives: GNU as
linux 0.01 boot.s (copy from linux 0.01)
boot.s is loaded at 0x7c00 by the bios startup routines and moves itself out of the way to address 0x90000, and jumps there.It then loads the system at 0x10000, using BIOS interrupts. Thereafter it disables all interrupts,moves the system down to 0x0000 , changes to protected mode and calls the start of system. The system …