•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Assembly section within the Software Development category of DaniWeb, a massive community of 397,337 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,905 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Assembly advertiser:
Views: 693 | Replies: 2
![]() |
•
•
Join Date: Aug 2005
Location: Cologne, Germany
Posts: 104
Reputation:
Rep Power: 4
Solved Threads: 8
Did you already write your bootloader? If yes, than most work is already done. You just place all the following stuff at the end of the loader, load that stuff into mem and execute it by setting CS to that point.
Displaying a string is the same as displaying a single char just in a loop. If you use C-strings with 0-termination the you loop through the string until a 0 occurs. Eg
Displaying a string is the same as displaying a single char just in a loop. If you use C-strings with 0-termination the you loop through the string until a 0 occurs. Eg
mystring DB 'Hello world!',0 XOR BX,BX print: MOV AL,[mystring+BX] JZ end ;output AL (don't know the code itm) LOOP print end:
•
•
Join Date: Jun 2008
Location: India
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 1
thanks a lot for your reply and code snippet. I have a doubt here. the processor understands hexadecimal value and displays the corresponding ascii values. for eg. when use #0x41 as the value it will displays character 'A' (well, this is what I tried). How would the processor understands a string. When I tried a code similar to yours it only displayed some ascii characters. the code i tried is in http://linuxgazette.net/issue79/krishnakumar.html. Please let me know regarding this. I am getting really interested in OS and boot loader concepts, but only getting minimal guidance in this area.
Thanks a lot.
Thanks a lot.
Citizen
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Assembly Marketplace
Similar Threads
- Problem with Vista, be warned (Windows Vista)
- protected mode (Assembly)
- Win XP Install..blinking cursor after reboot (Windows NT / 2000 / XP / 2003)
- Creating an OS (C++)
- Help with C in PIC (C)
- Mouse Lag in Games (Windows NT / 2000 / XP / 2003)
- Corrupted HDD? (Storage)
Other Threads in the Assembly Forum
- Previous Thread: HELP! File Structure....
- Next Thread: Boot Loader using Assembly Language


Linear Mode