Thread: i want to print number on scrren via assembley

  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

  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, 10: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, 12:13 AM
  5. What kind of programs should I start writing?
    By Macabre in forum C++ Programming
    Replies: 23
    Last Post: 04-12-2003, 08:13 PM