Mercurial > hg > Members > kono > nitros9-code
view lib/alib/is_space.as @ 3295:6b7a7b233925 default tip
makefile: Allow PORTS with level1/2 mix
https://sourceforge.net/p/nitros9/feature-requests/10/
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Tue, 19 Apr 2022 18:12:17 +0200 |
parents | 03f26e88b809 |
children |
line wrap: on
line source
***************************************** * See if character in "B" is a space ($20) * NOTE: This module is included for completeness only, * it is much more efficient to do an inline test. * OTHER MODULES NEEDED: none * ENTRY: B=character to test * EXIT: CC zero=1 if space, 0 if not nam Is Char a Space? ttl Assembler Library Module section .text IS_SPACE: cmpb #$20 rts endsect