I read this page and for me
Code: Select all
*((int*)0xb8000)=0x07690748; works but
Code: Select all
mov [0xb8000], 0x07690748
its says "error operand size not specified" --- any clue why ??
thx for future help
Code: Select all
*((int*)0xb8000)=0x07690748; works but
Code: Select all
mov [0xb8000], 0x07690748
As it says, you haven't told it what size the data you're putting into 0xb8000 is. Try this:packet50071 wrote:http://www.osdev.org/wiki/Printing_to_Screen
I read this page and for methe ASM versionCode: Select all
*((int*)0xb8000)=0x07690748; works but
doesn't work -- i used NASM to compileCode: Select all
mov [0xb8000], 0x07690748
its says "error operand size not specified" --- any clue why ??
thx for future help
Code: Select all
mov [0xb8000], dword 0x07690748
Code: Select all
mov dword [0xb8000], 0x07690748