Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Other Programming > Assembly Language
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old January 28th, 2008, 09: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





Similar Threads
Thread Thread Starter Forum Replies Last Post
cool ebook for assembly Language virgoptrex Assembly Language 3 February 10th, 2016 09:31 PM
How to control the direction in Assembly Language uppermore Assembly Language 1 January 10th, 2010 07: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 05:46 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.