Question: Complete the Codio Programming Assignment HALIX 1 0 1 . We will demonstrate in class how to do the problems. HALIX 1 0 1 :

Complete the Codio Programming Assignment HALIX101. We will demonstrate in class how to do the problems.
HALIX101: Halix Machine Code Programming Set I
----------------------------------------------
Directions: Write these programs in Halix machine language.
Use symbolic pseudo-code to identify your variables and
the Halix instructions you will be using (e.g., LOAD a for 0301).
Test the program thoroughly, to make sure they really work.
WARNING: All file names must include your class ID, which has 3 parts:
- last name -- LOWER CASE
- first initial -- UPPER CASE
- last 3 digits of FAMU ID
Example: jonesE421
FAILURE TO NAME FILE correctly results in ZERO -- will not be graded!!
----------------------------------------------
1.(add2-zzzz.hlx) Write this program in Halix machine language. NOTE: zzzz is your class ID.
read (A, B)
C = A + B
write (C)
Name your pseudo-code: add2_pseudoHLX
TO RUN: ./halix.run add2.hlx
2.(mult-zzzz.hlx) Write this program, store constant 14
at data memory address 00.
int X =14;
Y =5* X
write Y
Name your pseudo-code: mult_pseudoHLX
Name your program: mult.hlx
3.(algebra-zzzz.hlx) Write this program, use stored values
at data memory addresses 00 and 01.
int A =3
int B =4
C = A*A + A*B - B
write C
Name your pseudo-code:
4. BONUS (count-zzzz.hlx) Write this program.
----------------------------------------------
Due: Week2, Day 2
----------------------------------------------
Write a LOOP to generate the values 1,2,3,4,5.
Name your pseudo-code: count_pseudoHLX-zzzz.txt
============= A LITTLE HELP with pseudo-code ========
int LIMIT =5
int COUNT =0
NEXT:
if (LIMIT == COUNT) goto DONE
COUNT = COUNT +1
write COUNT
goto NEXT
DONE:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!