MIPS에서 임의의 단어를 생성하고 싶습니다. 난 임의의 숫자를 생성하는 방법을 알고, 난 그냥 단어 은행에서 임의의 단어를 원한다. 나는 이것을 시도했지만 인쇄 방법을 모른다.MIPS에서 임의의 단어 생성
.data
### WORD BANK ###
a0: .asciiz "computer"
b1: .asciiz "processor"
c2: .asciiz "motherboard"
d3: .asciiz "graphics"
e4: .asciiz "network"
f5: .asciiz "ethernet"
g6: .asciiz "memory"
h7: .asciiz "microsoft"
i8: .asciiz "linux"
j9: .asciiz "transistor"
k10: .asciiz "antidisestablishmentarianism"
l11: .asciiz "protocol"
m12: .asciiz "instruction"
word: .word a0,b1,c2,d3,e4,f5,g6,h7,i8,j9,k10,l11,m12
.text
la $To,word
주어진 목록에서 임의의 단어를 어떻게 선택합니까?
아니 도움이 될 희망 그렇지 않습니다 – Dawnkeeper