Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Other Programming > Assembly Language
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Assembly Language section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 28th, 2008, 08:13 AM
Registered User
 
Join Date: Jan 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default what is output command in assembly language

Hello,
i am completely new to Assembly Language. So please bear with me. This is completely noob question but will anybody please help me
i want to know what is the output statement in Assembly Language. Like in C we have printf and in C++ we have cout so which exactly is the command in Assembly???

i'm trying to copy the contents of 1st array to 2nd array. This is my code

.model small
.stack 64
.data
 d1 db 01,02,03,04
 d2 db 4 dup(?)

.code
 mov ax,@data
 mov ds,ax
 mov cx,4
  lea si,d1
  lea bx,d2
 up:
  mov al,[si]
  mov [bx],al
  inc si
  inc bx
  dec cx
  jnz up
  int 3
 end


now how can i know that the d2 array has contents of d1???i mean how can i check whether my program is right or wrong?Pleasee help me

Reply With Quote
Reply


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 Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cool ebook for assembly Language virgoptrex Assembly Language 3 February 10th, 2016 08:31 PM
How to control the direction in Assembly Language uppermore Assembly Language 1 January 10th, 2010 06:10 AM
Assembly Language - HELP Got Computer Assembly Language 0 May 24th, 2007 06:40 AM
assembly language project.... help earthdragon12 Assembly Language 0 July 22nd, 2006 07:20 AM
Compiling Assembly Language swenda C++ Programming 0 March 27th, 2006 04:46 AM



All times are GMT -4. The time now is 05:38 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.