Assenbler Code in C einbinden?
-
hi, ich habe hier das stück asm code:
mov bx,40h ;lese I/O adresse von parallel port von bios variable mov es,bx ;segment mov bx,08h mov ax,es:[bx] mov adr,ax call print ;parallel adresse ausgeben mov al,buf mov dx,adr out dx,al print: mov bx,0 ;string auf stack 0 terminieren push bx mov bl,10h ;in hexadezimal umwandeln
wie kann ich das in c einbinden und die ausgabe auf den schirm bringen?
VIELEN DANK!!:-)
-
http://www.nondot.org/sabre/os/files/Booting/CompilingBinaryFilesUsingACompiler.pdf
http://www.c-plusplus.net/forum/viewtopic.php?t=47822
http://www-106.ibm.com/developerworks/linux/library/l-ia.html?dwzone=linuxgehört aber in das Assembler Forum