What I mean by this is if I have an "empty" computer (nothing in the disk) can I develop a program or more specifically an operating system without first installing a pre-existing one?
The question seems to be an obvious no as you need a compiler/assembler and these are programs and as such require an operating system to run on. That being said I have been unable to find a conclusive answer to the question so I'm asking it here.
I guess the question can be simplified as, is it possible to run some kind of barebones text-editor and assembler with just the bios/uefi?
Edit: More specifically I want to know whether the firmware comes with commands that allow this, even if the firmware can run a text-editor/assembler if I need another computer/OS to get them I'm right back where I started.
Note:I'm not thinking of doing this, it would be unnecessarily increasing the complexity of the already hard task of making an OS, I'm just wondering if it can be done.