Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Code Thread

Name: Anonymous 2018-02-23 0:05

This place has gone from programming themed garbage to just garbage. Post code. Any clean code. Here's a C function to remove whitespace.

void remove_whitespace(char *s) {
char *i = s;
do
if(!isspace(*i = *s))
++i;
while(*s++);
}

Name: Anonymous 2018-02-28 15:24

>>1

Mine is even better:

MOV r1, #0 ; j=0
LOOP CMP r1, #10 ; j<10?
BGE DONE ; if j >=10, finish

.
. ; instructions
.
ADD r1,r1, #1 ; j++
B LOOP
DONE ..

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List