Message from @ViperChan

Discord ID: 382380404994342923


2017-11-21 03:58:36 UTC  

oh shit

2017-11-21 03:58:40 UTC  

OH SHIT

2017-11-21 03:58:47 UTC  

```mips
#===============================================================
# Maximum print
#===============================================================
add $s0, $zero, $zero # $s0 i = 0
lw $s3, 0($s2) # $s3 max = arr[0] <<<FIX
MaxL: slt $t0, $s0, $s1 # $t0 = (i < amt) ? 1 : 0
beq $t0, $zero, MaxE # !(i < amt) => MaxE
sll $t0, $s0, 2 # $t0 = i * 4
add $t0, $s2, $t0 # $t0 = arr + i * 4
lw $t1, 0($t0) # $t1 = arr[i]
slt $t0, $s3, $t1 # $t0 = (max < arr[i]) ? 1 : 0
beq $t0, $zero, MaxJ # !(max < arr[i]) => MaxE
add $s3, $zero, $t1 # max = arr[i]
MaxJ: addi $s0, $s0, 1 # i = i + 1
j MaxL # Restart loop
MaxE: add $a0, $zero, $s3 # $a0 = max
addi $v0, $zero, 1 # Prep to print for int
syscall # Print max
```

2017-11-21 03:58:48 UTC  

programing

2017-11-21 03:58:50 UTC  

...........

2017-11-21 03:58:50 UTC  

^^^fixed

2017-11-21 03:58:57 UTC  

PROGRAMING!!!!!

2017-11-21 03:59:04 UTC  

❤ ViperChan

2017-11-21 03:59:07 UTC  
2017-11-21 03:59:30 UTC  

```mips
add $s3, $zero, $zero ---> lw $s3, 0($s2)
```

2017-11-21 03:59:37 UTC  

Only change I needed

2017-11-21 03:59:50 UTC  

It took me 2 hours to find this god damn bug

2017-11-21 04:00:04 UTC  
2017-11-21 04:00:53 UTC  

```
You are just simply too awesome!
Thank you for gracing me with your energetic presence!
Words cannot express the amount of gratitude I have for you!
```

2017-11-21 04:01:10 UTC  

Wow

2017-11-21 04:01:16 UTC  

Just went to do my laundry

2017-11-21 04:01:25 UTC  

Someone had some DANK weed

2017-11-21 04:02:39 UTC  

@Blaundee yeh thanks, assembly langauge takes a LOT of effort

2017-11-21 04:02:45 UTC  

dude

2017-11-21 04:02:59 UTC  

my colleagues just program all fucking day for a robot that presses shit

2017-11-21 04:03:12 UTC  

presses shit?

2017-11-21 04:03:27 UTC  

manufacturing purposes

2017-11-21 04:03:32 UTC  

oh

2017-11-21 04:03:40 UTC  

engineering yo

2017-11-21 04:03:56 UTC  

that probably would be written in a similarly gross assembly langauge

2017-11-21 04:04:10 UTC  

MATLAB up in this bitch

2017-11-21 04:04:16 UTC  

oh god what

2017-11-21 04:04:23 UTC  

why???

2017-11-21 04:04:28 UTC  

amirite

2017-11-21 04:04:38 UTC  

that's not even a fully fleshed out langauge...

2017-11-21 04:04:42 UTC  

i know

2017-11-21 04:04:48 UTC  

It's like a weird in between for learners

2017-11-21 04:05:05 UTC  

havent programmed in about 5 years

2017-11-21 04:05:25 UTC  

only made VBA on excel

2017-11-21 04:06:02 UTC  

I've got a really long bit of code trying to get a B+Tree data structure working with 2 random access files in memory

2017-11-21 04:06:27 UTC  

One file for the data of the entries and the other for the structure of the tree

2017-11-21 04:07:13 UTC  

oh boy

2017-11-21 04:07:14 UTC  

structures

2017-11-21 04:29:01 UTC  

https://cdn.discordapp.com/attachments/228754920050786315/382386898905202689/IMG_20170823_1149023.jpg

2017-11-21 04:36:40 UTC  

you posted a picture in chat

2017-11-21 04:36:44 UTC  

*gasp*