The MASM32 project is licensed freeware available to any programmer who wishes to either learn or write Assembly level language (32 bit Microsoft Assembler). All of the software in the MASM32 project is copyrighted software that cannot be purchased, sold, re-licensed, attached or bundled with any form of software whatsoever.
One of the major problems faced by the MASM programmers today is that they have 64 bit operating systems like Windows 7. Since MASM 32 is a 32 bit program, it will not work on 64 bit operating systems. So whats the solution? I how ever found an alternative to do MASM programs for 64 bit lovers.
Emu8086 is a wonderful program for MASM. It is a micro prosessor emulator program. But how ever it works with MASM programs. Lets make a try...
DOWNLOAD HERE
One of the major problems faced by the MASM programmers today is that they have 64 bit operating systems like Windows 7. Since MASM 32 is a 32 bit program, it will not work on 64 bit operating systems. So whats the solution? I how ever found an alternative to do MASM programs for 64 bit lovers.
Emu8086 is a wonderful program for MASM. It is a micro prosessor emulator program. But how ever it works with MASM programs. Lets make a try...
DOWNLOAD HERE
This is the MASM code i am going to do..
Addition of two numbers
.model small
.stack
.data
a db "enter the first number : $"
b db "enter the second number: $"
e db 0ah,0dh,"$"
d db "sum is=$"
.code
.startup
lea dx,a
mov ah,09h
int 21h
mov ah,01h
int 21h
mov bl,al
lea dx,e
mov ah,09h
int 21h
lea dx,b
mov ah,09h
int 21h
mov ah,01h
int 21h
mov ah,00h
add al,bl
aaa
mov bl,al
mov bh,ah
lea dx,e
mov ah,09h
int 21h
lea dx,d
mov ah,09h
int 21h
mov dl,bh
add dl,30h
mov ah,02
int 21h
mov dl,bl
add dl,30h
mov ah,02
int 21h
.exit
end
.stack
.data
a db "enter the first number : $"
b db "enter the second number: $"
e db 0ah,0dh,"$"
d db "sum is=$"
.code
.startup
lea dx,a
mov ah,09h
int 21h
mov ah,01h
int 21h
mov bl,al
lea dx,e
mov ah,09h
int 21h
lea dx,b
mov ah,09h
int 21h
mov ah,01h
int 21h
mov ah,00h
add al,bl
aaa
mov bl,al
mov bh,ah
lea dx,e
mov ah,09h
int 21h
lea dx,d
mov ah,09h
int 21h
mov dl,bh
add dl,30h
mov ah,02
int 21h
mov dl,bl
add dl,30h
mov ah,02
int 21h
.exit
end
Please look on to the video. View it in youtube for better clarity
No comments:
Post a Comment