Write an assembly code that will calculate the value of y in the following equation y = 2a + 3b-4c Here, a is first and second digit of your roll number b is third and fourth digit of your roll number c is the last two digits of your roll number. All the numbers should be considered in decimal format.

EBK ELECTRICAL WIRING RESIDENTIAL
19th Edition
ISBN:9781337516549
Author:Simmons
Publisher:Simmons
Chapter28: Overcurrent Protection–fuses And Circuit Breakers
Section: Chapter Questions
Problem 11R: State four possible combinations of service equipment that meet the requirements of 110.9 and 110.10...
icon
Related questions
Question

Write an assembly code that will calculate the value of y in the following equation: y=-91

y= 2*20+ 3*19−4*47=-91

Here, roll= 2019000510047

 

please help me with those questions, those are from – Microprocessor and Interfacing, Electrical and electronics engineering.

Write an assembly code that will calculate the value of y in the following equation
y = 2a + 3b – 4c
Here,
a is first and second digit of your roll number
b is third and fourth digit of your roll number
c is the last two digits of your roll number.
All the numbers should be considered in decimal format.
Transcribed Image Text:Write an assembly code that will calculate the value of y in the following equation y = 2a + 3b – 4c Here, a is first and second digit of your roll number b is third and fourth digit of your roll number c is the last two digits of your roll number. All the numbers should be considered in decimal format.
Expert Solution
steps

Step by step

Solved in 3 steps with 4 images

Blurred answer
Knowledge Booster
Digital Modulation Scheme (Amplitude-Shift Keying [ASK], Phase-Shift Keying [PSK], Frequency-Shift Keying [FSK])
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, electrical-engineering and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK ELECTRICAL WIRING RESIDENTIAL
EBK ELECTRICAL WIRING RESIDENTIAL
Electrical Engineering
ISBN:
9781337516549
Author:
Simmons
Publisher:
CENGAGE LEARNING - CONSIGNMENT