CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: New in Assembly

  1. #1
    Join Date
    Feb 2005
    Location
    Kolkata, India
    Posts
    430

    Question New in Assembly

    Dear Gurus

    I am starting to learn assembly language. Please tell me which interface that i use to code the program.

    I have dev c++ will that allow write programs in assembly. If so how.

    As i was going through the net i find that dev c++ allows AT&T style instead of 8086.

    I need 8086. Please explain.

    Thanks in advance

    Regards
    Amar
    Try, Try Hard, Try Harder one day you will Succeed.

  2. #2
    Join Date
    Jun 2007
    Location
    MA-USA
    Posts
    247

    Re: New in Assembly

    I like Intel syntax so i use fasm.
    http://flatassembler.net/index.php
    The forum is a great place to learn.
    http://board.flatassembler.net/index.php
    I have tried many assemblers and this one is my favorite.

  3. #3
    Join Date
    Feb 2005
    Location
    Kolkata, India
    Posts
    430

    Re: New in Assembly

    Sorry for late reply.

    Thanks a ton, i have download the same.'

    I will try to program
    Try, Try Hard, Try Harder one day you will Succeed.

  4. #4
    Join Date
    Oct 2009
    Posts
    4

    Re: New in Assembly

    pls help me..i im nobe in assembly language i dont know the nxt step.
    this is the code but i dont know the nxt
    a100
    mov ax, 00
    int 33
    mov ax, 01
    int 33
    mov ax, 03
    int 10
    mov ah, 02
    mov dx, 001c
    mov bh, 00
    int 10
    mov ah, 09
    mov dx, 01d3
    int 21
    mov ah, 02
    mov dx, 031c
    int 10
    mov ah, 09
    mov dx, 0228
    int 21
    mov ah, 02
    mov dx, 041d
    int 10
    mov ah, 09
    mov dx, 01de
    int 21
    mov ah, 02
    mov dx, 051c
    int 10
    mov ah, 09
    mov dx, 01e7
    int 21
    mov ah, 02
    mov dx, 061a
    int 10
    mov ah, 09
    mov dx, 01f3
    int 21
    mov ah, 02
    mov dx, 071d
    int 10
    mov ah, 09
    mov dx, 0202
    int 21
    mov ah, 02
    mov dx, 0a1e
    int 10
    mov ah, 09
    mov dx, 0232
    int 21
    mov cx, 0000
    mov dx, 0000
    mov bx, 0000
    mov ax, 03
    int 33
    cmp bx, 1
    jne 017c
    cmp cx, 0120
    jg 17c
    cmp cx, 00d0
    jl 17c
    cmp dx, 0020
    je 01ad
    cmp dx, 0028
    je 01b2
    cmp dx, 0030
    je 01b7
    cmp dx, 0038
    je 01bc
    cmp dx, 0050
    je 01d1
    jne 17c
    mov dx, 020b
    jmp 01bf
    mov dx, 020f
    jmp 01bf
    mov dx, 0218
    jmp 01bf
    mov dx, 0221
    mov ah, 02
    mov bx, 0000
    mov di, dx
    mov dx, 0c1d
    int 10
    mov dx, di
    mov ah, 09
    int 21
    int 20
    db "Calculator$"
    db "Addition$"
    db "Subtraction$"
    db "Multiplication$"
    db "Division$"
    db "Add$"
    db "Subtract$"
    db "Multiply$"
    db "Divide$"
    db "Menu$"
    db "Exit$"

    this is the frame

    menu
    add
    sub
    mul
    divide
    exit
    1st screen
    The 1st frame nid to be clicakble to do the 2 screen frame
    example if u click the a,d,d,i.t,i,o,n any of the letters we going to second frame to do the operation the same in subtraction and multiplication but the division nid a two answer the quotient and remainder

    1st number___
    2nd number___
    result___
    press any key 2 return to menu
    second screen
    note 3 digits max including negative value and the numbers be in ascii code...

    pls help me..tnx

  5. #5
    Join Date
    Jan 2010
    Posts
    10

    Re: New in Assembly

    Use MASM32, it has macros and I liked this a lot. I think it's the easiest one to use.

    Good luck!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured