OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [serial/] [fpga2pc/] [send1.s] - Rev 232

Go to most recent revision | Compare with Previous | Blame | View Log

;
; send.s -- send stream of bytes
;
 
; $8  serial base address
; $9  temporary value
; $10 character
; $11 counter
; $31 return address
 
	.set	tba,0xF0301000
 
	add	$8,$0,tba
	add	$11,$0,0
loop:
	add	$10,$11,0
	and	$10,$10,0xFF
	jal	out
	add	$11,$11,1
	j	loop
 
out:
	ldw	$9,$8,8
	and	$9,$9,1
	beq	$9,$0,out
	stw	$10,$8,12
	jr	$31
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.