It's been a really long time, but I think Borland used the following: single line: asm mov ah, 9 or a block: asm { mov ax, 1234h mov bx, ax } Hope that works. I think you can also link in your ASM files but that part of my brain has been overwritten.