Complete the task described below by using VizMachine and submit the screenshot(s) of the program section of it which shows all of the instructions you wrote.
You should write a program which visualize your first name (only first name, not middle name or surname) on the screen with capital letters. After this visualization, the program should visualize it again with small letters. To do this, you need to use ASCII table. You are not allowed to make static assingments to registers or the main memory. Your program should print your name twice by using a single code segment. I.e. your program should:
- have a code segment which prints your name with capital letters
- turn back to the beginning of this code segment
- and write your name again with small letters
- and finally terminate
You are asked to figure out a way to create a loop by using JUMP instruction which works only once!
Please name your screenshot(s) as following:
yourID.png (ex: 1850144002.png) or if you have more than 1 screenshots: yourID_1.png, yourID_2.png etc.
Upload your file(s) to your sections submission page on moodle. There is also a submission page for the ones who are not belong to any section.
Good luck.
ASCII TABLE
DEC | Character | DEC | Character |
65 | Capital A | 97 | Small a |
66 | Capital B | 98 | Small b |
67 | Capital C | 99 | Small c |
68 | Capital D | 100 | Small d |
69 | Capital E | 101 | Small e |
70 | Capital F | 102 | Small f |
71 | Capital G | 103 | Small g |
72 | Capital H | 104 | Small h |
73 | Capital I | 105 | Small i |
74 | Capital J | 106 | Small j |
75 | Capital K | 107 | Small k |
76 | Capital L | 108 | Small l |
77 | Capital M | 109 | Small m |
78 | Capital N | 110 | Small n |
79 | Capital O | 111 | Small o |
80 | Capital P | 112 | Small p |
81 | Capital Q | 113 | Small q |
82 | Capital R | 114 | Small r |
83 | Capital S | 115 | Small s |
84 | Capital T | 116 | Small t |
85 | Capital U | 117 | Small u |
86 | Capital V | 118 | Small v |
87 | Capital W | 119 | Small w |
88 | Capital X | 120 | Small x |
89 | Capital Y | 121 | Small y |
90 | Capital Z | 122 | Small z |
Reviews
There are no reviews yet.