-1

I am creating an opeating ystem, and for my bootloader I need to call function with argument, my function without argument work but when I add argument the program totaly bug, it don't launch I don't understand why. The last question is Can't launch function in c in low-level. It's the same problem but not the good explaination.

1 Answers1

0

If you had the same problem, just add -Os -mregparm=3 -fomit-frame-pointer in the option of the compiler. This could help you.