Valid HTML5/CSS3
Notepad - BIOS.ASM
	.align	4,0
printString:
	push	{r0-r4, lr}
print_getChar:
	ldrb	r1, [r0, #0]	@ r1 = char at r0[0]
	cmp	r1, #0		@ is null?
	beq	print_done
	cmp	r1, #10		@ is newline?
	beq	print_newLine
	swi	#2
	add	r0, #1		@ r0++
	b	print_getChar
print_newLine:
	ldr	r3, print_cursorPos
	ldr	r2, [r3, #0]
	mov	r2, #63
	bic	r1, r2
	add	r1, r1, #0
	add	r2, #1
	@ add	r2, #64
	str	r2, [r3, #0]
	add	r0, #1
	b	print_getChar
print_done:
	pop	{r0-r4, pc}
	.align 2,0
Twitter
Paypal
Index
Noxico The Pile Window sitters Logo Pending Starbound mods Starbound JSON Lab Felinese OpenPoké MLPFIM Color Guide The State of SNES Emulation series mirror EliteMap Sappy

The Helmeted Rodent

Program Manager