| | |
problem in BIOS service
![]() |
•
•
Join Date: Aug 2008
Posts: 1
Reputation:
Solved Threads: 0
I've written the following program
when i try to run it on DOS an error is occured that
nasm: fatal: unable to open input file 'filename.asm'
kindly solve my problem.
thx
assembly Syntax (Toggle Plain Text)
;print string using bios service [org 0x0100] jmp start message: db 'hello world' start: mov ah, 0x13 ;service 13-printing string mov al, 1 ;subservice 01-update cursor mov bh, 0 ;output on page 0 mov bl, 7 ;normal attribute mov dx, 0x0A03 ;row 10-column 3 mov cx, 11 ;length of string push cs pop es ;segment of string mov bp, message ;offset of string int 0x10 ;call bios video services mov ax, 4c00h int 21h
nasm: fatal: unable to open input file 'filename.asm'
kindly solve my problem.
thx
Last edited by Ancient Dragon; Aug 22nd, 2008 at 12:50 am. Reason: add code tags
![]() |
Similar Threads
- Sony Vaio Fn key problem (USB Devices and other Peripherals)
- HP Pavilion ze5155 BIOS problem... (Troubleshooting Dead Machines)
- memory management in wndows 2000 (Windows NT / 2000 / XP)
- Windows XP, Wireless USB Keyboard Problem (USB Devices and other Peripherals)
- Toshiba Satellite A20 Boot Priority Problem (Troubleshooting Dead Machines)
- XP Service Pack 2 problems (Windows NT / 2000 / XP)
- A7N8X-X MCP LAN Connection Problem (Windows NT / 2000 / XP)
- Hard Drive Problem (Storage)
- Moniter Refresh/Flicker problem (Troubleshooting Dead Machines)
- Problem with the GForce 5200 card (Monitors, Displays and Video Cards)
Other Threads in the Assembly Forum
- Previous Thread: function parameters in as88
- Next Thread: String To Int
| Thread Tools | Search this Thread |






