{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Nchars - ECE 362 Experiment 3 Fall 2008 Skeleton file for...

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 Steps 1 & 2 ;*********************************************************************** ; ; 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. ; ;*********************************************************************** ; Step 1: ; ; Subroutine: Nchars ; ; Inputs: ASCII value of starting character in the A register ; Number of characters to be printed in the B register ; ; Function: Prints a series of N characters beginning with the ASCII ; character in the A register and followed by the N-1 ; characters that follow in the ASCII table ; ; Subroutines called: outchar ; ;*********************************************************************** org 0800h testnc ; main program to use for testing subroutine nchars lds #$1000 ; by itself (have to initialize SP and the jsr
Background image of page 1

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

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

{[ snackBarMessage ]}