view lib/alib/is_space.as @ 2802:58ca94b06908 lwtools-port

now built from defs files
author Boisy Pitre <boisy.pitre@nuance.com>
date Fri, 01 Feb 2013 19:26:44 -0600
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