Click here to Skip to main content
15,897,968 members

Comments by ubutu2334 (Top 6 by date)

ubutu2334 7-Nov-21 23:26pm View    
It has no general form "if else"? 😥
ubutu2334 24-Oct-21 6:59am View    
Are the two ways I tried correct?
ubutu2334 1-Oct-21 14:40pm View    
Yes I turned it, but open command palette with Ctrl + Shift + P and "Enable Neon Dreams". Color of Gutter Background immediately disappeare
ubutu2334 15-Sep-21 12:05pm View    
Thank you!
ubutu2334 15-Sep-21 11:49am View    
I tried your way
addi $t0,$zero,5 # x = 5
addi $t1,$t0,-2 # y = x - 2
li $t2,4 # t2 = 4
mult $t0, $t2 # x*4
mflo $s3 # a = x*4
li $t3,2 # t3 = 2
mult $t1,$t3 # y*2
mflo $s4 # b = y*2
add $t5, $t0, $s3 # temp1 = x + a
add $t6, $t1, $s4 # temp2 = y + b
sub $s5, $t5, $t6 # z = (x + a) - (y + b)
Is that correct?