Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with this assembly program. What I do not understand is why are my register values wrong. These are the assignment instructions A

I need help with this assembly program. What I do not understand is why are my register values wrong. These are the assignment instructions

A = (A + B)(C + D)You will use EAX for A, EBX for B, etc.Initialize these values with symbolic constants in hexadecimal.Make A = 23, B = 42, C = 91, and D = 12.To do this, you need to move the integer values into the associated registers, and then use the ADD and SUB instructions(and please follow the order of operations).Now another one:A =C-(A + (C13) + B) + (B + 24)

Screen shots of the code I have done but is not correct.

image text in transcribed

Second program

image text in transcribed

Edit View Project Sign in File o. x Project Build 2. . Debug Test Analyse Debug - Win32 Tools . Extensions Window Help Search (Ctrl-O) Local Windows Debugger Auto - Live Share Solun Explora IX Adam Surch Solutions pour Ctrle:) Solution Project( of project) Solurion Items X INCLUDE Irvine 32.100 .data A value DWORD 29h #_value MOD 48h Server Explore Isoles - Projet C value LORD 92h D_value DWORD 22h Cung Addiwe.am e Pieces 18 Structcampam testas Notification .code Onain proc Dagnostic Took . A value adid B value C_value mill , D_value invoke Exit Process, a main endp end main 23 CH1 TASCAL lnaded. Output Sherwerp from Debug Project.exe (win): Cadet Covers0117bestantrine ASS Prefert 1 52919 Dehu Profert.Fre'. Syl "Project.exe Win121: Loaded "C:Wind O n tal 1.11'. "Proyect.exe Win121: Loaded "C:\Windows\SysW erte19.01. "Proyect.exe Win121: Loaded "C:\WindowsSysW Kernel P. 11". The three weer hoe Fitted with rede -107174151a (Rac e ). The thread fere has exited with rede -1871741512 (RCRA2015). The propre "TRxTC94] Projet.Fee' has exited with ende -1874741518 (Bxr 11a). Souho. Class View Property mix, Ready + Add to Sousa Cum 4:06 PM 40 11000 Type here to search G Edit Project Project File - View - Build Debug Test Analyse - - Debug - Wing Tools - Extensions Window Help Search (Ctrl-O) Local Windows Debugger - Auto Sign in - Live Share x Solun Explora Ixodem.mx Server Explore P. TNCILIDF Tevine12.inc data 3 Search Solutions pour Curle: Solution Project( of l ect) Solurion Items . Programa References Faternal dependencies seconfrograma 5 6 7 8 A_value WORD 29h value DLORD 45h C_value IMORD 92h D value DWORD ? Isoles Notification 10 11 .code main proc Dagnostic Took NOVA value movab, B_value HOWC value Sub 13h add abs, 24h still alive O D_value, invoke ExitProcess, a main endp end main 33 LIE 23 CH 12 TASCLE 121% . Nu is found Output Show output from: Build 1------ Rehuild A11 started: Project: Prnas, Centipurstinn: Dehu win17 --- 10:ropas Piles (x86)\Microsoft Visual Studio17019 tys d icraft w 134-ehling serendPRATA.SE... 15 Pratert.vropraj -> C ersid1171 Desktop reshly Code Project 1 5221910ehur: Pran 1Pane huilding penject "Prajert.ursproj". Rebuild A11: 1 sueceeded, A failed, Beipped - i erneatt. .target(419,5)Warnin : The intermediate directory (h ) contain the shared from another projert (Per . Souto. Css View Propetylenmix. Ready Adelu Sun Control 819 AM Type here to search 0 Edit View Project Sign in File o. x Project Build 2. . Debug Test Analyse Debug - Win32 Tools . Extensions Window Help Search (Ctrl-O) Local Windows Debugger Auto - Live Share Solun Explora IX Adam Surch Solutions pour Ctrle:) Solution Project( of project) Solurion Items X INCLUDE Irvine 32.100 .data A value DWORD 29h #_value MOD 48h Server Explore Isoles - Projet C value LORD 92h D_value DWORD 22h Cung Addiwe.am e Pieces 18 Structcampam testas Notification .code Onain proc Dagnostic Took . A value adid B value C_value mill , D_value invoke Exit Process, a main endp end main 23 CH1 TASCAL lnaded. Output Sherwerp from Debug Project.exe (win): Cadet Covers0117bestantrine ASS Prefert 1 52919 Dehu Profert.Fre'. Syl "Project.exe Win121: Loaded "C:Wind O n tal 1.11'. "Proyect.exe Win121: Loaded "C:\Windows\SysW erte19.01. "Proyect.exe Win121: Loaded "C:\WindowsSysW Kernel P. 11". The three weer hoe Fitted with rede -107174151a (Rac e ). The thread fere has exited with rede -1871741512 (RCRA2015). The propre "TRxTC94] Projet.Fee' has exited with ende -1874741518 (Bxr 11a). Souho. Class View Property mix, Ready + Add to Sousa Cum 4:06 PM 40 11000 Type here to search G Edit Project Project File - View - Build Debug Test Analyse - - Debug - Wing Tools - Extensions Window Help Search (Ctrl-O) Local Windows Debugger - Auto Sign in - Live Share x Solun Explora Ixodem.mx Server Explore P. TNCILIDF Tevine12.inc data 3 Search Solutions pour Curle: Solution Project( of l ect) Solurion Items . Programa References Faternal dependencies seconfrograma 5 6 7 8 A_value WORD 29h value DLORD 45h C_value IMORD 92h D value DWORD ? Isoles Notification 10 11 .code main proc Dagnostic Took NOVA value movab, B_value HOWC value Sub 13h add abs, 24h still alive O D_value, invoke ExitProcess, a main endp end main 33 LIE 23 CH 12 TASCLE 121% . Nu is found Output Show output from: Build 1------ Rehuild A11 started: Project: Prnas, Centipurstinn: Dehu win17 --- 10:ropas Piles (x86)\Microsoft Visual Studio17019 tys d icraft w 134-ehling serendPRATA.SE... 15 Pratert.vropraj -> C ersid1171 Desktop reshly Code Project 1 5221910ehur: Pran 1Pane huilding penject "Prajert.ursproj". Rebuild A11: 1 sueceeded, A failed, Beipped - i erneatt. .target(419,5)Warnin : The intermediate directory (h ) contain the shared from another projert (Per . Souto. Css View Propetylenmix. Ready Adelu Sun Control 819 AM Type here to search 0

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions