
;somechar = 10;
	mov	_somechar,#0x0A
;while(somechar-- != 0) {
00101$:	r2,_somechar
	dec	_somechar
	cjne	r2,#0x00,00108$
	ret
; i++; // this is the DOSOMETHING :-) (some body of the loop)
00108$:	inc	_i
	sjmp	00101$
;}
;------------------------------------------------------------
;somechar = 10;
	mov	_somechar,#0x0A
;do {
;  i++;  // DOSOMETHING
00101$:	inc	_i
;while(--somechar != 0);
	dec	_somechar
	mov	a,_somechar
	jz	00108$
	sjmp	00101$
00108$:	ret