Programming > Lab Report > Lab Report > CEG3136 LAB 1 Report Introduction to Microprocessor Programming (All)
Equipment The following was used to complete this lab: • Windows PC • Dragon 12 Plus Trainer Objectives Part One Summary This initial section of the lab had instructed us to utilize the D-B... ug12 module of the MiniIDE software to assemble a given program and record responses to a given table. This program was designed to interpret a user-given ASCII character input from terminal, and repeat that character a set number of times in a formatted manner. Both the number of times it would be repeated, and the formatting of the outputted text, would later be altered per the lab manuals instructions. The completion of this parts components was verified by the TA. Algorithm We were required to translate the given algorithm into C code to further understand its process. The following is the code we developed: Include <stdio.h> int main(void){ int a, b; putchar(‘:’); b=getchar(); for (a=3;a!=0;a--){ putchar(‘ ’); putchar(b); } return 0; } Observations of Outcomes Given a list of instructions, we were then asked to record the subsequent address and contents observed throughout operation. This is seen in Table A1 [Show More]
Last updated: 2 years ago
Preview 1 out of 10 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Jan 07, 2023
Number of pages
10
Written in
This document has been written for:
Uploaded
Jan 07, 2023
Downloads
0
Views
98
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·