This repository contains all the assignments related to Advanced microprocessors x86 and mmx controllers.
- a) First assignment is related to printing the keypresses on qemu screen by writing in video memory using interrupt
b) Second part is related to printing without using interrupt. - Second assignment is jumping from real mode to protected mode and from there coming back.
- Third assignment is printing transpose of matrix using mmx registers
-
First one must have qemu installed on machine with nasm. Set up the working environment.
-
To run part 1.a use following commands in shell:
nasm -fbin printchar.asm -o printchar.bin
qemu-system-i386 printchar.bin -
To run part 1.b use following commands in shell:
nasm -fbin bootloader.asm -o bootloader.bin
nasm -fbin realmode.asm -o realmode.bin
cat bootloader.bin realmode.bin > result.bin
qemu-system-i386 result.bin -
To run part part 2 use following commands in shell:
nasm -fbin modejump.asm -o modejump.bin
qemu-system-i386 modejump.bin -
To run part 3 use following commands in shell:
nasm -fbin bootloader.asm -o bootloader.bin
nasm -fbin transpose_of_matrix.asm -o transpose.bin
cat bootloader.bin transpose.bin > result.bin
qemu-system-i386 result.bin
- Sawant Sir, Khatavkar Sir - COEP, Pune
- Utkarsh Andurkar
- Leeky 0x00sec vip - Realmode Assembly -Writing bootable stuff part 1 and part 2
- devdungeon
- Alex Parker website 3 zanders co uk