Question
New to ASM, I dont really know where to start ; ASM Program template .386 .model flat,stdcall .stack 4096 ExitProcess proto,dwExitCode:dword .data A DWORD ?
New to ASM, I dont really know where to start
; ASM Program template
.386
.model flat,stdcall
.stack 4096
ExitProcess proto,dwExitCode:dword
.data
A DWORD ?
B DWORD 1
C1 DWORD 2 ; C is a reserved word
D DWORD 3
E DWORD 4
F DWORD 5
G DWORD 6
H DWORD 7
I DWORD 8
J DWORD 9
K DWORD 10
L DWORD 11
M DWORD 12
N DWORD 13
O DWORD 14
P DWORD 15
.code
main proc
mov eax, 0 ; initialize eax to 0
; INSERT ADD INSTRUCTIONS HERE
; INSERT ADD INSTRUCTIONS HERE
; INSERT ADD INSTRUCTIONS HERE
mov ebx, eax ; ebx=12
; INSERT ADD INSTRUCTIONS HERE
; INSERT ADD INSTRUCTIONS HERE
; INSERT ADD INSTRUCTIONS HERE
mov ebx, eax ; ebx=60
; INSERT ADD INSTRUCTIONS HERE
; INSERT ADD INSTRUCTIONS HERE
; INSERT ADD INSTRUCTIONS HERE
mov ebx, eax ; ebx=360
; INSERT ADD INSTRUCTIONS HERE
; INSERT ADD INSTRUCTIONS HERE
; INSERT ADD INSTRUCTIONS HERE
mov ebx, eax ; ebx=2520
; INSERT ADD INSTRUCTIONS HERE
; INSERT ADD INSTRUCTIONS HERE
; INSERT ADD INSTRUCTIONS HERE
mov ebx, eax ; ebx=20,160
; INSERT ADD INSTRUCTIONS HERE
; INSERT ADD INSTRUCTIONS HERE
; INSERT ADD INSTRUCTIONS HERE
mov ebx, eax ; ebx=181,440
; INSERT ADD INSTRUCTIONS HERE
; INSERT ADD INSTRUCTIONS HERE
; INSERT ADD INSTRUCTIONS HERE
mov ebx, eax ; ebx=1,814,400
; INSERT ADD INSTRUCTIONS HERE
; INSERT ADD INSTRUCTIONS HERE
; INSERT ADD INSTRUCTIONS HERE
mov A, eax
invoke ExitProcess,0
main endp
end main
code is at the top of the page.
For your second programming problem, you will be implementing the above instruction that can be used is the add instruction For your second programming problem, you will be implementing the above instruction that can be used is the add instructionStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started