GIDForums

Go Back   GIDForums > Computer Programming Forums > Assembly Language
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 04-May-2008, 07:34
jackiebb jackiebb is offline
New Member
 
Join Date: May 2008
Posts: 1
jackiebb is on a distinguished road

Use arrow keys to move


Hi, I am a beginner at assembly language and want to make a program which displays something on the screen and I can use the arrows on my keyboard to move it around. I have developed code to display the text but am unsure as tohow I go about moving it around the screen. here is my code so far:
Code:
a push ds mov dx, b800 mov ds, dx nop mov bx, 0A42 nop mov ax, 8041 mov [bx], ax nop pop ds mov ah, 00 nop a push ds mov dx, b800 mov ds, dx nop mov bx, 0A44 nop mov ax, 8043 mov [bx], ax nop pop ds mov ah, 00 nop a push ds mov dx, b800 mov ds, dx nop mov bx, 0A46 nop mov ax, 804B mov [bx], ax nop pop ds mov ah, 00 nop int21

Thanks,
 

Recent GIDBlogGoing to Iraq by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ games programmer needed (London, freelance contract) Nickdammit Computer Programming Advertisements & Offers 0 19-Mar-2008 08:02
C++ beginner littlewenwen CPP / C++ Forum 7 11-Nov-2006 18:55
Beginner problem :( whatever84 C Programming Language 1 05-Jul-2006 02:33
Program Needed: Perfect Number Program in C language koool_kid C Programming Language 12 02-Dec-2005 14:02
Free 1st month / Free setup / No credit card needed...Plans start at 4.95 LarryIsaac Web Hosting Advertisements & Offers 0 11-Oct-2003 14:03

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 14:40.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.