rej05b0178_m16cap| Application Note

rej05b0178_m16cap PDF

rej05b0178_m16cap| Application Note


APPLICATION NOTE

M16C/60 Series and M16C/20 Series
General-purpose Program for Converting from ASCII to Hexadecimal Data
1. Abstract

This program converts ASCII code into hexadecimal data.

2.

Introduction

This program converts ASCII code into hexadecimal data. The ASCII code that can be converted are numbers from `0' to `9' and alphabets from `a' to `f' and `A' to `F'. Set ASCII code in R0L. The converted hexadecimal data is output to R0L. Conversion information is output to the C flag.

C 0 1 ASCII converted into hexadecimal

Meaning

Not converted because inconvertible code was input ROM capacity : 42 bytes Number of stacks used : None Output Hexadecimal Conversion information Usage condition Unused Unused Unused Unused Unused Unused

Subroutine name : ATOH Interrupt during execution : Accepted Register/memory R0L R0H R1 R2 R3 A0 A1 C flag Input ASCII code -

Usage precautions

REJ05B0178-0100Z/Rev.1.00

July 2002

Page 1 of 7


rej05b0178_m16cap Application Note renesas Download PDF

Add this permalink to your bookmarks for future download of rej05b0178_m16cap ApplicationNote

Permalink: http://application.emcelettronica.com/renesas/rej05b0178_m16cap

PDF rej05b0178_m16cap APPLICATION NOTE