Date: Sun, 23 Nov 2008 09:16:28 -0800 (PST) From: AVG <goncalves.v.andre@gmail.com> To: freebsd-mips@freebsd.org Subject: Mips Open image Message-ID: <20648401.post@talk.nabble.com>
next in thread | raw e-mail | index | archive | help
how can i open one imagem in mips? it always give me: "Unknown System call: 13" I have: .data # Data declaration section image_rgb: .space 786432 # 512*512 (image size) * 3 (1 bit per colour) image_gray: .space 262144 # 512*512 file: .asciiz "lena.rgb" read: la $a0, ficheiro # string containing filename to open li $a1, 0 # li $a2, 0 # read only li $v0, 13 # open syscall # v0 = file descriptor move $a0, $v0 la $a1, image_rgb li $a2, 786432 li $v0, 14 syscall main: # Start of code section j read -- View this message in context: http://www.nabble.com/Mips-Open-image-tp20648401p20648401.html Sent from the freebsd-mips mailing list archive at Nabble.com.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20648401.post>