![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Hobbyist Programmer
Join Date: Jul 2005
Posts: 158
Rep Power: 0
![]() |
Help with simple program
Okay I'm done with school for a while and I decided to toy with systems programming after a crash course in assembly I decided to try something. The program boots but doesn't execute properly. I've examined my code but I haven't found any problem. So if you could help me I'd really appreciate. It was assembled in NASM.
[BITS 16] ORG 0 mov AH,0x0 mov AL,0x0 int 0x10; enter 40x25 B/W text video mode continue: int 0x16;read key strokes cmp AH,0x1C0D;test for an enter key stroke je exit mov AL,AH int 10;display character jmp continue exit: mov AH,0x0 int 19;warm boot times 510-($-$$) db 0x0;fill up empty bytes dw 0xAA55;make bootable
__________________
Geeks may not be cool now but in the long run they prosper. |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Language display in program | Prm753 | C++ | 3 | May 30th, 2006 5:45 PM |
| PLS Help me in a very simple (noob) program about textfields and textareas. | javaN00b | Java | 3 | Mar 29th, 2006 9:45 PM |
| problem...a simple program... | n00b | C++ | 13 | Sep 22nd, 2005 5:08 AM |
| Simple VB Program | jaymunee80 | Visual Basic | 2 | Jul 6th, 2005 4:56 AM |
| Errors when compiling simple program | n3o_X | Java | 3 | Feb 20th, 2005 1:31 PM |