;function isupper(ch: char): boolean;
;begin
	NAME ISUPPER
	ENTRY ISUPPER
ISUPPER:
	ENTR	D,2,0
;  isupper := ( ('A'<=ch) and (ch<='Z') );
	MOV	H,A
	MOV	L,8(IX)
	LXI	D,65	;"A"
	XCHG
	LE	D,0
	jrnc	L190
	MOV	H,A
	MOV	L,8(IX)
	MOV	A,L
	CMPI	D,91	;"Z"
	MOV	A,H
	jrnc	L190
	INR	A
L190:
	MOV	L,A
	XRA	A
	MOV	H,A
	MOV	2(IX),L
;end;
	EXIT	D,1


	MOV	A,L
	CMPI	D,9