Message - ;* ; ECE 362 - Experiment 3 - Fall 2008 ; ;...

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 ; ;*********************************************************************** ; ; 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 ;*********************************************************************** N equ 04h NULL equ 00h CR 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 CR,LF ; inserted in the code each time it is used fcb '%1' ; %1 indicates the substitution parameter fcb NULL $macroend ;*********************************************************************** ; Step 4: ; ; Subroutine: pmsgx ; ; Inputs: X register contains the starting address of a NULL-terminated ; string ; ; Function: Prints the string beginning with the address in the X
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.

Page1 / 4

Message - ;* ; ECE 362 - Experiment 3 - Fall 2008 ; ;...

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