Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

WHY THE CODE IS NOT RUNNING PLEASE FIX THE BUG AND SEND THE FIXED CODE MUST BE IN IRVINE , PSEUDOCODE MONEY>10 AND BONUS =50

WHY THE CODE IS NOT RUNNING PLEASE FIX THE BUG AND SEND THE FIXED CODE MUST BE IN IRVINE

, PSEUDOCODE MONEY>10 AND BONUS =50 THEN DONATE =DONATE + 2 ELSE DONATE = DONATE +1

INCLUDE Irvine32.inc .data

DONATE WORD 2 MONEY WORD 15

.code

main PROC MOV BX, DONATE MOV AX, MONEY CMP AX, 10 JA D2 JBE D1

D2: ADD BX, 2 JMP HERE

D1: INC BX JMP HERE

HERE: MOV DONATE, BX

call DumpRegs

exit main ENDP END main

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

Recommended Textbook for

Database Reliability Engineering Designing And Operating Resilient Database Systems

Authors: Laine Campbell, Charity Majors

1st Edition

978-1491925942

More Books

Students also viewed these Databases questions