Nchars - ;* ; 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. ; ;*********************************************************************** ; 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
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

Nchars - ;* ; 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