i want to print number on scrren via assembley

This is a discussion on i want to print number on scrren via assembley within the C Programming forums, part of the General Programming Boards category; Code: mydata segment n1 dw 008 n2 dw 009 n3 dw 000 mydata ends mycode segment assume ds:mydata,cs:mycode begin: mov ...

  1. #1
    Registered User planet_abhi's Avatar
    Join Date
    Oct 2002
    Posts
    92

    i want to print number on scrren via assembley

    Code:
    mydata segment
            n1 dw 008
            n2 dw 009
            n3 dw 000
    mydata ends
    
            mycode segment
            assume ds:mydata,cs:mycode
    begin:
    mov ax,mydata
    mov bx,ax
    add ax,bx
    mov n3,ax
    
     mycode ends
    end begin
    AbHHinaay

  2. #2
    Dev
    Dev is offline
    Registered User Dev's Avatar
    Join Date
    Mar 2003
    Posts
    59

  3. #3
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    C Board > General Programming Boards > C Programming
    If you didn't notice, this is a C board, not an asm one.

    For asm questions, try here
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program giving errors
    By andy bee in forum C Programming
    Replies: 5
    Last Post: 08-11-2010, 11:38 PM
  2. memory issue
    By t014y in forum C Programming
    Replies: 2
    Last Post: 02-21-2009, 12:37 AM
  3. Replies: 6
    Last Post: 02-19-2009, 07:19 PM
  4. Personal Program that is making me go wtf?
    By Submeg in forum C Programming
    Replies: 20
    Last Post: 06-27-2006, 01:13 AM
  5. What kind of programs should I start writing?
    By Macabre in forum C++ Programming
    Replies: 23
    Last Post: 04-12-2003, 09:13 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21