Would a loop without delaying in Assembly crash my PC?

Viewed 91

I am trying to make a simple x86 Operating System, but I was concerned about something.

If I am making a loop in x86 Assembly (without a delaying function), would my computer crash if I were to run the compiled code on my PC?

loop:
    .globl kernel
    jmp loop

times 510-($-$$) db 0

dw 0xaa55
1 Answers

No.

An endless loop like this will do nothing to your PC. It won't crash and won't damage your PC. It is quite difficult to physically destroy hardware from software.

Related