Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Given an example of data segment below: . DATA X DB S DB P N DB ? +21, -76, +74, -99, -32, -89, -43, -121,

image text in transcribed

Given an example of data segment below: . DATA X DB S DB P N DB ? +21, -76, +74, -99, -32, -89, -43, -121, +15, -112, +76, -17 12 DB ? Write the definition of a macro which calculates the average of the positive and negative signed numbers in array X respectively. The macro has 4 arguments. First two arguments are name (X) and size (S) of the array. Last two arguments are the averages of the positive (P) and negative (N) signed numbers. The macro ignores the remainders. Given an example of data segment below: . DATA X DB S DB P N DB ? +21, -76, +74, -99, -32, -89, -43, -121, +15, -112, +76, -17 12 DB ? Write the definition of a macro which calculates the average of the positive and negative signed numbers in array X respectively. The macro has 4 arguments. First two arguments are name (X) and size (S) of the array. Last two arguments are the averages of the positive (P) and negative (N) signed numbers. The macro ignores the remainders

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

Question

Write an elaborate note on marketing environment.

Answered: 1 week ago