PIC32 Function Calls and IO(Debugging, Subroutines in MIPS,I/O in MIPS, INPUT/OU

Nov 29th, 2014
Price: $125 USD

Question description

lab5manual.pdf I need help with my lab project. I spent significant time on that but since I am abs new to this program and its software/hardware i am still in need of major help.

my first question is in debugging that what does it mean when it says:  How many levels deep is the call and how to we trace executible stack in printf here? how to we find depth level of call in stack?!!! 

after this i need help to write your own function that will return a constant 0x80000 for the

delay loop in the demo.c program that i attached here to this instruction and print out the number of times that it has been called to the serial output. The output should look exactly like:

Hello, world! 0

Hello, world! 1

after that I need help how to  “tune” the delay values using the input switches. First, read the state

of all four switches and encode the boolean values from the switches into the lower 4-bits

of a single word. 

I attached a pdf file of detailed instruction of what is this lab about i wanted also attach demo.c file which is the c program for this lab you do not need to write C i already give you the c you need to write assembly in MIPS.If needed I have tutorial pdf too so it gives you more idea hot to start but since it only allow me to attach one pdf file i attached manual lab so you know whats up and if you know about this let me know and ill send you more file alonge with demo.c (cprogram) I def need help with what I asked and if not fully helped at least I need help how to start and do it. please help me. for this lab you should have :

This lab assumes that you have:

• MPLABX IDE v2.15 (newer versions require a PICKit3 firmware upgrade!)




• MPLAB x32 cross-compiler v1.33



Tutor Answer

(Top Tutor) aazam
School: UT Austin

Studypool has helped 1,244,100 students

Review from student
" Top quality work from this guy! I'll be back! "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1821 tutors are online

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors