Lab2: Hexadecimal
You find it annoying to convert numbers to hexadecimal. You decide to write a program to do that. That is, if the user input:
You should print
Requirements
Copyright By PowCoder代写 加微信 powcoder
Write program with LC-3 assembly language
Start your program at x3000
Read an unsigned number (10 based) from the console ended with Enter , and it will not exceed 216 − 1 = 65535
Print the number in 4-digit hexadecimal
Remember to halt your program in the end
Lab 2 takes 5% of the final score, consisting of Check and Report.
Report (50%)
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com