CS Assignment 1
CS Assignment 1
Page 1|3
Name: Qazi Mudasir Ahmed
Roll No: 24P-0544
Section: BSCS-1C
• Convert the given number into decimal and then binary:
= (40300)5
1. Decimal Value
(40300)5= (4(625) + 0(125) + 3(25) + 0(5) + 0(1)) = 2500 + 75
(2575)10
(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|3
Name: Qazi Mudasir Ahmed
Roll No: 24P-0544
Section: BSCS-1C
4. Delete Emoji = = (0044)5
• Decimal Value = (0(125) + 0(25) + 4(5) + 4(1)) = (24)10
• Binary Value = (11000)2
Page 3|3