
Thanks to everyone will reply

How do you know this ? Do you know for sure that main is reached ? I suspect that it is not. start.asm looks incomplete.and when i call putc from main no value to the function has been given...
The values are transferred via the stack, there is no such thing as "no value" on the stack. Your function will (try to) access the stack no matter what. As Combuster implied, you probably have a stack problem.Karlosoft wrote:and when i call putc from main no value to the function has been given...
Your kernel, in the BIOS area?link.ld wrote:phys = 0xFF800000;