How can I run assembly code directly on a laptop without an operating system? [closed]

I’m starting a journey into bare-metal programming and want to run assembly code directly on my laptop without an OS installed. My goal is to work in a completely bare-metal environment, where I can interact directly with the hardware.

What tools, techniques, or steps are required to:

  • Write assembly code that can be executed directly on the hardware?
  • Load and execute the assembly program on the laptop without an OS?
  • I’ll be using a second computer to develop the code.

Any guidance or resources would be greatly appreciated.

enter image description here