How does popa and pusha actually works?

I am attempting to write a simple OS from scrath, but I have stumbled into a problem. I wrote a simple procedure that runs through a string and prints it on the screen. print_string: pusha cmp byte[bx], 0 je exit mov ah, 0x0e mov al, [bx] int 0x10 inc bx jmp print_string exit: mov ah,… Read More How does popa and pusha actually works?

Qemu how to get a port for VNC and stop the terminal?

Using Ubuntu 20.04, I am starting my Ubuntu server with: qemu-system-x86_64 \ -enable-kvm \ -cpu host \ -smp 11 \ -drive format=raw,file=/mnt/kvm-guests/work.img,if=virtio \ -net nic,model=virtio,macaddr=ec:8d:2c:f3:2a:7c \ -net tap,ifname=tap2,script=no,downscript=no \ -runas kvmuser \ -nographic \ -m 30000 & How do I make it to where: There is a port given in the output if I want… Read More Qemu how to get a port for VNC and stop the terminal?