Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need help programming this code in C++ ASSEMBLY LANGUAGE . I need help ASAP. Thank you. By Assembly Language, I mean this following format:
I need help programming this code in C++ ASSEMBLY LANGUAGE. I need help ASAP. Thank you.
By Assembly Language, I mean this following format:
#include
using namespace std;
//any voids
void ...()
{
}
// any varibles
int/short variable_n
int main ()
{
_asm
{
... Assembly Code
}
}
I must use the asm format above.
4. ( 20 points)A building is surrounded with 4 ar NW, NE,SW,SE. In each area there are 4 securi cameras. All cameras are controled by the ADT company. If the content of ax register is a hexadecimal number BEFA and each bit of ax is representing one of the security cameras: Write an assembly program to a. Display the content of the ax register at base 2 b. Detrmine how many cameras are off at the SE area? c. The ADT must know that at the SW area all cameras are working 24/7. Check to make sure all camers on the SW area are now on. d. Determine whether the camera number 4 and 5 are both on or not? Sample output Ax=1011111011111010 2 cameras are off at the SE area All camers at SW are are on Camer's number 4 and 5 are both on
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started