Current location: Hot Scripts Forums » Programming Languages » Other Languages » about assembly language


about assembly language

Reply
  #1 (permalink)  
Old 03-30-09, 01:19 AM
mobiseek mobiseek is offline
New Member
 
Join Date: Mar 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Trophee about assembly language

dear sir i confuse of this programe please help me

Write a program in assembly language that calculates the sum of first five odd numbers (1, 3, 5, 7, 9) and stores the result in AX register.
You can do it with the help of loop (initialize AX register with value 0 and BX with value 1, and then on each iteration of loop add BX into AX and add value 2 in BX).
You are NOT allowed to define the data (like num1: dw 1, 3, 5, 7, 9)
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Assembly Language Help please nito28 Other Languages 0 02-05-09 09:58 PM
assembly language anupamsr Hot Scripts Forum Questions, Suggestions and Feedback 9 12-31-08 10:45 AM
How to build a binary tree in assembly language? phingphing Other Languages 0 11-04-08 07:15 AM
Assembly Language question jessicayan Other Languages 1 02-13-07 03:07 PM
Assembly language help please psi3000 Other Languages 0 03-25-06 09:21 PM


All times are GMT -5. The time now is 03:45 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.