191-16-425 Answer No - 2
191-16-425 Answer No - 2
Answer no – 2
I think it will be MASAM. MASM is maintained by Microsoft and is an x86 assembler that consumes
Windows and Intel syntax to produce a COFF executable. It is compatible for both 16 bit and 32 bit
sources. Fortunately, Microsoft’s Visual Studio IDE endorses MASM programming tasks just by
making a couple of project property changes. The prime objective behind this article is to introduce
the power of assembly code in terms of speed and full control over programs which are typically not
seen in other programming languages. Even though there are numerous editors and software
available to do such a task in a standalone way, the aspirant system or security programmers who
are only limited to .NET software IDE so far can enter into the real system programming world by
using none other than visual studio IDE.
Answer no -1
name "upper"
org 100h
jmp start
start:
; int 21h / ah=0ah - input of a string to ds:dx,
; fist byte is buffer size, second byte is number
; of chars actually read. does not add '$' in the
; end of string. to print using int 21h / ah=09h
; you must set dollar sign at the end of it and
; start printing from address ds:dx + 2.
mov bx, dx
mov ah, 0
mov al, ds:[bx+1]
add bx, ax ; point to end of string.
mov ch, 0
mov cl, [bx+1] ; get string size.
upper_case:
ok:
inc bx ; next char.
loop upper_case
null:
ret ; return to operating system.