Hardware Reference
In-Depth Information
Figure D.6 Select New from the file menu to create a new file
Figure D.7 Confirmation dialog for new file creation
The editing window (upper half of the IDE window) may be too small and should be re-
sized. After adjusting the window size, the user enters the program that converts a hex number
into BCD digits in Example 2.13. This program performs the repeated divide-by-10 operation to
the given number and adds hex number $30 to each remainder to convert to its corresponding
ASCII code. The result is shown in Figure D.8.
Search WWH ::




Custom Search