小编Dai*_* R.的帖子

Mips:计算两个输入的总和

看起来很简单,但我认为我的程序不会编译,因为我覆盖了$ v0寄存器?提前致谢

更新:没关系得到它,当我打印系统调用打印总和时我的订单错了...修复以防万一需要参考.

.data
prompt1: .asciiz "\n\n Enter the first integer please:"
prompt2: .asciiz "Enter the second integer please:"
result: .asciiz "The result is:"

.text

main:

    #t0-to hold first integer
    #t1-to hold second integer
    #t2- used to hold the sum of t$1 and t$2

        #first number

    li $v0, 4 #syscall to print string
        la $a0, prompt1  #address of string to print
        syscall

        li $v0, 5 #syscall to read an integer
        syscall
        move $t0, $v0  #move the number to read into …
Run Code Online (Sandbox Code Playgroud)

assembly mips

10
推荐指数
1
解决办法
2万
查看次数

为Parse Server设置MongoDB环境要求

我有我的实例正在运行并且能够远程连接但是我被困在哪里将此参数设置为false,因为它声明默认设置为true:

failIndexKeyTooLong 
Run Code Online (Sandbox Code Playgroud)

mongodb parse-platform parse-server

7
推荐指数
1
解决办法
1115
查看次数

标签 统计

assembly ×1

mips ×1

mongodb ×1

parse-platform ×1

parse-server ×1