Statement | Destination Content Status Flags
| Before | After OF DF IF SF ZF AF PF CF
MOV AX,NUM1 |
AND AX,0FFDFH |
OR AL,20H |
XOR NUM1,0FF00H |
NOT NUM2 |
XOR AX,AX |
MOV AX,NUM1 |
AND AX,0008H |
XOR AX,0080H |
4. Write a C program to check whether the given year is a Lear Year or not. If leaf year print the year in the reverse order otherwise print its sum of cube roots of digits of year.
WRITE A ASSEMBLY CODE ON EMU 8086
Write an assembly code to convert the number 8765h to 6587h using only rotate instruction.
What is the output of the first round of the DES algorithm when the plaintext and the key
are both all ones?
WRITE A ASSEMBLY CODE ON EMU 8086
Arithmetic Operations(Division) Perform following
Arithmetic Operations
· 10/2
· 15/9
· 3844/5
Implement the following binary search tree operations:
1. BFS
2. DFS
3. Addition
4. Deletion
WRITE ASSEMLY CODE ON EMU 8086
Arithmetic Operations(Multiplication) Perform following Arithmetic Operations
• 8*3
• 256*768
• -5*4
• -10*-20
displays all the following students’ attributes
1 Student Name
2 ID
3 Gender
4 Group
5 Score
6 Grade
What are the specific advantages and disadvantages of cloud computing for enterprise resource planning (ERP)?
Write a code in python’s data structures (only in linked list) of:
Cargo system
START
Take information from user (Name, passport number)
Ask user to select country from (Australia, USA)
If Australia
Ask user “what kind of package do you want to send: a) luggage b) car c) Mail”
If a)
Ask weight of luggage
Calculate and show price= 75 $ /kg
If b)
Ask user “Select type of vehicle 1) light weight 2) heavy weight 3) motorcycles”
If 1)
“Price is =2500$”
If 2)
“Price is 3500$”
If 3)
“Price is 1000$”
If c)
Ask for address “enter address”
Show “Price is 100”
If USA
“same as above as Australia”
END
PS: you are only supposed to use linked list