Given the following addinator macro... macro addinator( w, x, y, z) load 1, w load 2, x load 4, y ad

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Given the following addinator macro... macro addinator( w, x, y, z) load 1, w load 2, x load 4, y ad

Post by answerhappygod »

Given the following addinator macro...
macro addinator( w, x, y, z)
load 1, w
load 2, x
load 4, y
add 1, 2, 3
add 3, 4, 5
store 5, z
endmacro
... show the results from an expansion of the macro on the
following assembly language code:
dewey: .long 1
huey: .long 2
louie: .long 3
donald: .long
addinator(huey, dewey, louie, donald)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply