CS Assignment 2 PDF
CS Assignment 2 PDF
😁
😭
🤐
😡
☠️
For initial testing of the system:
Page 1|2
Name: Qazi Mudasir Ahmed
Roll No: 24P-0544
Section: BSCS-1C
1. Decimal Value
(40300)5= (4(625) + 0(125) + 3(25) + 0(5) + 0(1)) = 2500 + 75
(2575)10
2. Converting the above decimal number into binary
(101000001111)2
3. Design a machine language for this processor under the emoji
numbering system which will perform the following
operations:
1. Display Emoji = 🤐☠️😡😭
2. Copy Emoji = 😡😡☠️☠️
3. Paste Emoji = ☠️😁😡🤐
4. Delete Emoji = 😁😁☠️☠️
4. For the system to effectively communicate with the binary processor also
write binary equivalents of your chosen Emoji Opcode (machine
language instruction) for each of the four operations above.
Page 2|2