Eval - ;* ; ECE 362 - Experiment 3 - Fall 2008 ; ; Skeleton...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
;*********************************************************************** ; ECE 362 - Experiment 3 - Fall 2008 ; ; Skeleton file for Step 6 ;*********************************************************************** ; ; Completed by: < Abhisheyk Gaur > ; < 5858-G > ; < your lab division > ; ; ; Academic Honesty Statement: In signing this statement, I hereby certify ; that I am the individual who created this HC12 source file and that I have ; not copied the work of any other student (past or present) while completing it. ; I understand that if I fail to honor this agreement, I will receive a grade of ; ZERO and be subject to possible disciplinary action. ; ; ; Signature: ________________________________________________ Date: ____________ ; ; NOTE: The printed hard copy of this file you submit for evaluation must be signed ; in order to receive credit. ; ;*********************************************************************** ; Declarations ;*********************************************************************** NULL equ 00h RET equ 0dh LF equ 0ah $macro print ; THIS LINE WILL NOT BE INSERTED IN CODE jsr pmsg ; This and the following 3 lines will be fcb RET,LF ; inserted in the code each time it is used fcb '%1' ; %1 indicates the substitution parameter fcb NULL $macroend ;*********************************************************************** ; Step 6: ; ; Program: main ; ; Inputs: None ; ; Function: 1) Prompts the user to enter the two operands and the function to ; be performed, and stores these items on the stack
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/03/2012 for the course ECE 362 taught by Professor Staff during the Fall '08 term at Purdue University-West Lafayette.

Page1 / 4

Eval - ;* ; ECE 362 - Experiment 3 - Fall 2008 ; ; Skeleton...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online