Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can someone please review my code? I keep getting this error whenever I input text to be read. [ERROR] #265 PLPSimBus: write(0x11000000): This address is

Can someone please review my code? I keep getting this error whenever I input text to be read.

image text in transcribedimage text in transcribed

[ERROR] #265 PLPSimBus: write(0x11000000): This address is not in any module's address space. [ERROR] #264 SimCore: Bus write error. .org 0x10000000 li $sp, 0x10fffffc li $50, Oxf0000000 # Command Register li $81, Oxf0000004 # Status Register li $s2, Oxf0000008 # Recieve Buffer 1 2 3 4 5 6 7 8 9 10 11 12 13 array_ptr: .space 100 start: li $a), array_ptr move $a1, $a0 UART_Check_Loop: 14 15 lw $t0, 0($s1) li $t1, 0610 and $t2, $t0, $t1 beq $t2, $zero, UART_Check_Loop 16 nop 17 18 19 20 21 22 23 lw $v0, 0($s2) sw $t1, 0($50) space: li $s3, 0x20 beq $v0, $s3, UART_Check_Loop nop 24 uppercase: li $t5, 0x41 li $t6, Ox5A slt $t7, $t6, $v0 slt $t8, $v0, $t5 bne $t7, $t8, period nop beq $t7, $zero, lowercase nop j period nop 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 lowercase: addiu $v0, $v0, 32 j array nop period: li $t9, 0x2E beq $v0, $t9, main nop array: sw $v0, 0($a1) addiu $a1, $a1, 4 j UART_Check_Loop nop 48 49 50 51 main: move $a2, $a0 li $t5, 0 52 push_to_array: 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 lw $t7, 0($a2) push $t7 addiu $t5, $t5, 1 addiu $a2, $a2, 4 slt $56, $a2, $a1 bne $56, szero, push_to_array nop li $t5, 0 pop_to_array: pop $t7 lw $t8, 0($a0) bne $t7, $t8, UART_0 addiu $a0, $a0, 4 addiu $t5, $t5, -1 bne $t5, $zero, pop_to_array nop 70 j UART_1 nop 71 72 UART_0: 73 74 75 76 77 78 79 li $a0, 0 call project3_print nop j start nop UART_1: 80 81 82 83 li $a0, 1 call project3_print nop j start nop [ERROR] #265 PLPSimBus: write(0x11000000): This address is not in any module's address space. [ERROR] #264 SimCore: Bus write error. .org 0x10000000 li $sp, 0x10fffffc li $50, Oxf0000000 # Command Register li $81, Oxf0000004 # Status Register li $s2, Oxf0000008 # Recieve Buffer 1 2 3 4 5 6 7 8 9 10 11 12 13 array_ptr: .space 100 start: li $a), array_ptr move $a1, $a0 UART_Check_Loop: 14 15 lw $t0, 0($s1) li $t1, 0610 and $t2, $t0, $t1 beq $t2, $zero, UART_Check_Loop 16 nop 17 18 19 20 21 22 23 lw $v0, 0($s2) sw $t1, 0($50) space: li $s3, 0x20 beq $v0, $s3, UART_Check_Loop nop 24 uppercase: li $t5, 0x41 li $t6, Ox5A slt $t7, $t6, $v0 slt $t8, $v0, $t5 bne $t7, $t8, period nop beq $t7, $zero, lowercase nop j period nop 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 lowercase: addiu $v0, $v0, 32 j array nop period: li $t9, 0x2E beq $v0, $t9, main nop array: sw $v0, 0($a1) addiu $a1, $a1, 4 j UART_Check_Loop nop 48 49 50 51 main: move $a2, $a0 li $t5, 0 52 push_to_array: 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 lw $t7, 0($a2) push $t7 addiu $t5, $t5, 1 addiu $a2, $a2, 4 slt $56, $a2, $a1 bne $56, szero, push_to_array nop li $t5, 0 pop_to_array: pop $t7 lw $t8, 0($a0) bne $t7, $t8, UART_0 addiu $a0, $a0, 4 addiu $t5, $t5, -1 bne $t5, $zero, pop_to_array nop 70 j UART_1 nop 71 72 UART_0: 73 74 75 76 77 78 79 li $a0, 0 call project3_print nop j start nop UART_1: 80 81 82 83 li $a0, 1 call project3_print nop j start nop

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions