Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 05-03-2009, 01:40 PM   #1 (permalink)
 
Banned

Join Date: Aug 2008

Location: South Africa

Posts: 16

r00ster is on a distinguished road

Send a message via Skype™ to r00ster
Default Assembly problems

My friend is doing a course in computer science and needs help with a few questions considering assembly. Well at least I think it is assembly. Here goes:

1. What alphabetic character will be moved into DL if the mov dl,25h instruction is executed?

2. What is the length of this program:

bits 16
org 0x100
jmp start
char: db 'A FISH'

start: mov bx, 1234h
shl bx,01
or bx,3333
test_:
test bl,20h
mov ah,02
mov dl,[char+5]
jnz display
mov dl,25h

display:
int 21h
stop:
int 20h
;The End

3. Which ASCII character is stored in memory position 105h?

4. What are the actual memory positions that are associated with the labels start and display respectively?

5. Which are the first and last memory positions occupied by the program?

6. What is the machine code for MOV BX, 3412

7. Which of the following will be flagged as an error by DEBUG?

1: SUB BX,BX
2: DB 456
3: MOV AH,56
4: ADD AH,AL
5: DB 23

Thanks
r00ster is offline  
Old 05-05-2009, 06:19 PM   #2 (permalink)
CrazeD's Avatar
 
Wizard Techie

Join Date: Feb 2006

Location: Maine

Posts: 3,683

CrazeD will become famous soon enough

Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: Assembly problems

We're not going to do your homework for you.
__________________

Need website help? PM me!
CrazeD is offline  
 
Closed Thread

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP! Battlefield 2 Crashes when entering Singleplayer,Multiplayer, and Audio Options Grayman PC Gaming 7 03-17-2009 02:26 AM
Many Problems With Comp Doorknob Windows Operating Systems and Software 6 02-15-2009 08:54 PM
Problems with reformat. phucng_10 Other Computer HW Topics 11 12-09-2008 06:00 AM
Norton Ghost Issues GuitarFreak1857 Windows Operating Systems and Software 15 09-24-2008 03:08 PM
A whole boatload of problems, please help :( Neodr31 Hardware Troubleshooting 6 09-18-2008 10:32 AM