Hi all, I'd try kernel code(C) to call ASM functions, ASM code simply written as:
Code: Select all
format ELF64
public _test
section '.text' executable align 16
_test:
mov edi, 0xB8000
mov al, 'A'
mov ah, 13
mov [edi], ax
ret
Code: Select all
.file "irq.s"
.text
.align 2
.globl _test
.type _test, @function
_test:
ret