Lab 4 –MIPS Assembly language
Programming with MARS IDE
Procedures
The purpose of this lab is to introduce you to the layout and structure of the Mars IDE development tool in addition to Procedures programming. In this lab, a procedure is called to sort three numbers (ascending sort) in the memory.
Procedure:
I. Follow the same procedure in Lab1.
II. From the main menu, choose “File” “New”
III. You will find a blank file. Start typing your program. The main program and the procedure
Type the program provided below in the screen shot.
IV. Click on the icon “Assemble the current file”
V. Run the given program
· Observe the registers/Memory locations values after each Step Run. Record the final values.
· Use $t0, $t1, and $t2 to hold the numbers after the ascending sort. What are the final values of $t0, $t1, and $t2?
Things to turn in as your Lab 4 Report, attached in this order:
1- Your name, Course Number, Lab Number and Date
2- Screen shot of the Program
3- Results/Observations such as the final screen shot of the registers and memory locations
4- Questions with answers
6- References if any
Sample Only – from me
Job Title: Patient Representative
Knowledge Skills and Ability KSA’s
________________________________________________________________________________________
Competency 1: Knowledge of patient rights and responsibilities in a health care setting to coordinate reviews of service process and patient rights/responsibilities program.
The Patient Representative is a critical position in the office of the Deputy Director and the bearer holds the task of providing technical and administrative support. The job requires an understanding of the services and the overall orientation. The core competencies necessary to effectively manage the challenges associated with the occupation is the ability to institute proper investigations into complaints recorded by the customers. The investigation of the complaints further includes notifying the necessary services on the need for a given response to the complaints in order to address those best. In addition to working with the necessary services to develop actions to correct the situation, the position further entails the ability to report to the patients the measures taken to address a given complaint. At this point, it is further critical to monitor the effectiveness of the said measures. To sum up the complaint, competence in composing reports of patients, description and documentation of the complaints, and analysis of the data is critical to the task obligations.
Competency 2: Ability to assist and support patients with complex issues; often requiring coordination with various services in a Medical Center.
The Patient Representative must further understand the significance of comprehending the institution’s mission, policies, procedures and the services available to the clients. This is necessary in order to render quality service to the patients. Furthermost, it ...
Lab 4 –MIPS Assembly languageProgramming with MARS IDEProced.docx
1. Lab 4 –MIPS Assembly language
Programming with MARS IDE
Procedures
The purpose of this lab is to introduce you to the layout
and structure of the Mars IDE development tool in addition to
Procedures programming. In this lab, a procedure is called to
sort three numbers (ascending sort) in the memory.
Procedure:
I. Follow the same procedure in Lab1.
II. From the main menu, choose “File” “New”
III. You will find a blank file. Start typing your program. The
main program and the procedure
Type the program provided below in the screen shot.
IV. Click on the icon “Assemble the current file”
V. Run the given program
· Observe the registers/Memory locations values after each Step
Run. Record the final values.
· Use $t0, $t1, and $t2 to hold the numbers after the ascending
sort. What are the final values of $t0, $t1, and $t2?
Things to turn in as your Lab 4 Report, attached in this order:
1- Your name, Course Number, Lab Number and Date
2- Screen shot of the Program
3- Results/Observations such as the final screen shot of the
registers and memory locations
4- Questions with answers
2. 6- References if any
Sample Only – from me
Job Title: Patient Representative
Knowledge Skills and Ability KSA’s
_____________________________________________________
___________________________________
Competency 1: Knowledge of patient rights and responsibilities
in a health care setting to coordinate reviews of service process
and patient rights/responsibilities program.
The Patient Representative is a critical position in the office of
the Deputy Director and the bearer holds the task of providing
technical and administrative support. The job requires an
understanding of the services and the overall orientation. The
core competencies necessary to effectively manage the
challenges associated with the occupation is the ability to
institute proper investigations into complaints recorded by the
customers. The investigation of the complaints further includes
notifying the necessary services on the need for a given
response to the complaints in order to address those best. In
addition to working with the necessary services to develop
actions to correct the situation, the position further entails the
ability to report to the patients the measures taken to address a
given complaint. At this point, it is further critical to monitor
the effectiveness of the said measures. To sum up the
complaint, competence in composing reports of patients,
description and documentation of the complaints, and analysis
of the data is critical to the task obligations.
Competency 2: Ability to assist and support patients with
complex issues; often requiring coordination with various
services in a Medical Center.
The Patient Representative must further understand the
3. significance of comprehending the institution’s mission,
policies, procedures and the services available to the clients.
This is necessary in order to render quality service to the
patients. Furthermost, it is imperative understand the
significance of appreciating the patients and acknowledging
them as being important stakeholders in the whole
establishment. In this regard, the need to nurture and maintain
good relationships with the patients and other guests is
paramount.
Maintaining records, interpreting the data, compilation of
records and tracking the data in order to make critical decision-
making is a key competence. The bearer must be detail-oriented,
and demonstrate ability to keep the data of the patients in a
safe, organized and logical manner. Well maintained data is
critical for making decisions that include reporting on the
progress. Documentation of the reports at the end of the terms,
say annual or biannual, is a result of well-kept data and records.
The significance of the reports is that it allows for the
categorization of the various patient inquiries. Reporting further
helps to make sense of the various aspects of the health
organization
As stated above, the Patient Representative must provide the
missing link in the organization, both technical and support. In
the Consumer Affairs Office, addressing the core aspects of the
medical process involves helping handle the immediate
problem. In this regard, the incumbent must have the ability to
handle patient will enable me assist in the facilitation of
medical emergency treatment plans. Facilitating this process
will require the proper gathering and provision of social,
financial and the details pertaining to the medical history to the
relevant staff.
Other critical competencies include the basic office keeping and
record management. Maintaining correspondence with clients
and other stakeholders include receiving and making calls, and
the analysis of the information to be rendered. Office keeping
includes managing the overall office requisitions and supplies
4. that allow the health facility to gain critical resources in order
to operate effectively. At the same time, overall flexibility in
the line of duty is a critical competence that is needed in this
kind of organization due to the diverse nature of tasks that need
to be handled.
Competency 3: Ability to communicate orally with individuals
from diverse backgrounds.
Effective communication is vital to enhancing knowledge and
understanding among individuals from different educational and
socio-economic backgrounds. As a matter of fact, it is the key
to ensuring that conflicting opinions are managed effectively
and at the same time ensuring that conflicts are resolved
amicably. My oral communication skills are excellent since I
communicate in a tactful, courteous and respectful manner. For
instance, in my previous job position, I was the primary liaison
between the management division and the employees. My
primary goal was to ensure that all the employees were well-
informed of the benefits provided by the federal government.
Moreover, I communicate on a daily basis with groups and
individuals from diverse backgrounds. Principally, my main
objective is to be a proactive individual with regard to adequate
employee follow up. In my communication, I strive to display
professionalism, sympathy and empathy as it relates to the
subject matter. By effectively communicating with employees, I
facilitate the realization of conflict-free workgroups in the
Veterans Affairs Administration Hospital so as to improve
workplace civility.
Additionally, I can adequately deal with sensitive and
controversial situations and issues. For example, as a human
resource assistant, there was a raging conflict on employee
vetting approach to use. I was in the center of this conflict and
in order to resolve it, I presented my co-workers with the
recommended guidelines for screening applicants.
Good communication skills are crucial requirements of a human
resource specialist. My abilities to clearly communicate their
5. ideas and findings orally, in written proposals and reports so as
to aid the understanding of other people. Principally, the
analysts should effectively communicate meaningful
information about the details to business units and/or managers.
Most significantly, they should keep the management and all the
relevant departments informed of the status of projects and
activities.
Moreover, I should ensure that regular communication occurs
based on the needs of the project or the individual. When the
information presented is unclear, they should elaborate and
clarify communication to the level of the audience for the
benefit of the intended audience by utilizing creative methods
such as analogies and visuals to communicate complex ideas.
Verbal/written communication skills for the past 10 years, I’ve
communicated with individuals at all levels of
management/leadership in my Undergrad, Masters, and
currently Doctoral Programs. In my present position, I handle
frequent telephone calls, written and face-to-face inquire, and
maintain continuous personal contact with a wide variety of
individuals. I am currently involved in work-related inquires to
compose letters/reports, assisting customers with MyHealtheVet
enrollment, and other duties as assigned. I establish and
maintain the office administrative filing system in accordance
with Agency and Departmental.
I strive for customer satisfaction by providing world class
treatment to all in accordance to the VA missions. I
consistently communicate and treat customers (veterans, their
representative, visitors and all VA staff) in a courteous, tactful,
and respectful manner. I provide the customers with reliable
information according to established policies and procedures.
Although the knowledge offered is not limited to healthcare, my
team building capability has grown tenfold. My conflict
resolving skills have been of help in liaising with the healthcare
authorities of various capacities and levels. I handle conflict
and problems by dealing with the customer appropriately and
constructively.
6. My Bachelor of Arts (Psychology) and Masters in Healthcare
Administration degrees included coursework in healthcare,
technical writing , and speech which has given me the
foundation for effectively communicating with people from
diverse backgrounds to meet the organizational goals of the
department.
Through healthcare leadership transformation, execution, and
people coincide with my personal statements we both seek to
change leadership, develop interpersonal understanding, and
became aware of the community around us. By providing
quality care, being the hospital of choice, and thinking outside
the box promotes solutions to problems that defy biological,
genetic, or biochemical solutions. In order, to become effective
organization you have to grasp the problems that demand new
thinking, innovative approaches, and values one of which is the
implementation of exceptional management.
Competency 4: Ability to coordinate, plan, set priorities, and
establish deadlines to meet the goals of an organization
t is the mandate of a Patient Representation to perform
operations on a collected data with the view of generating a
suitable report for use in decision-making. In this case, the
person should gather, clean, organize, and perform standards
without being bias. This should take place in an independent
manner. Such data can critically benefit an organization,
especially in achieving its objectives and targets. In most cases,
the patient representative assist with evaluations to ascertain if
it is working to achieve its target goals to full all patient needs
and quality of healthcare services to all American Veterans.
Therefore, the participants in such a setup must be well armed
with the knowledge of data analysis by both use of manual and
computer software.
I can effectively plan, organize and prioritize my assigned tasks
based on their value and potential risks in order to ensure that I
accomplish a number of deadlines. Basically, priority issues
have a high value and have a greater risk if not completed on
time. In order to accomplish this, I set a time planner with
7. priority issues on top and with the less prioritized activities at
the bottom. As a matter of fact, prioritization plays a key role in
ensuring that issues of great importance are completed on time
while the rest can be done later.
M6A2 Lab Controlling the PC.docx
The objective of this lab is to control the hardware of a personal
computer directly. A computer program called TONE.ASM
(Attached) will be used to conduct this lab. This program is
developed in assembly language.
Procedure
1. Download the program TONE.ASM (Attached). Assemble,
link, and run. Hopefully, you will hear the speaker beep at a 1
KHz rate for a short period.
2. Adjust the INNER and OUTER values until the tone lasts for
5 seconds. How many loops are required? What is the speed of
the processor on your system?
3. Readjust the INNER and OUTER values for tone duration of
0.25 seconds.
4. Modify the TONE.ASM program so that the 0.25-second 1
KHz tones plays five times, once each second. Hint: Use DOS
INT 21H Function 2CH (Get Time) to read the system clock.
Look for the seconds’ value to change. When it does, play the
0.25-second tone, then start watching the system clock again,
waiting for the seconds to change again. Do this five times.
8. Here is some sample code for detecting when a new second has
started:
<
The loop exits at the beginning of the new second. You will
need to define NOW in the DATA portion of the program (NOW
DB?).
5. Submit the final ASM file.
M6A2 Lab Missing sample code.GIF
missing code.docx
tone.asm
;Program TONE.ASM: Generate a 1 KHz tone on the PC
speaker for 5 seconds.
;
.MODEL SMALL
.DATA
;Note: You will have to adjust these values to get the 5 seconds.
;The current values give just over 1 second on a 1.3 GHz
machine.
OUTER DW 4000 ;outer loop count
INNER DW 50000 ;inner loop count
9. .CODE
.STARTUP
CALL SPKRON ;turn speaker on
MOV CX,1190 ;divisor for 1 KHz tone
CALL LDTIMER ;set speaker frequency
CALL DELAY ;wait for chosen duration
CALL SPKROFF ;turn speaker off
.EXIT
SPKRON PROC NEAR
IN AL,61H ;read current state of port 61h
OR AL,3 ;set speaker control bits
OUT 61H,AL ;output new state
RET
SPKRON ENDP
SPKROFF PROC NEAR
IN AL,61H ;read current state of port 61h
10. AND AL,0FCH ;clear speaker control bits
OUT 61H,AL ;output new state
RET
SPKROFF ENDP
DELAY PROC NEAR
MOV DX,OUTER
WAIT1: MOV CX,INNER
WAIT2: NOP
NOP
NOP
NOP
LOOP WAIT2
DEC DX
JNZ WAIT1
RET
DELAY ENDP
11. ;Note: Output frequency equals 1,190,000 divided by CX
LDTIMER PROC NEAR
MOV AL,0B6H ;timer 2 control word
OUT 43H,AL
MOV AL,CL ;output lower byte of count
OUT 42H,AL
MOV AL,CH ;output upper byte of count
OUT 42H,AL
RET
LDTIMER ENDP
END