Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
The Management
Jan 2, 2010

sup, bitch?
assembly is the best, write it every day. what's your favorite instruction from any architecture? be sure to provide documentation and why it's your favorite.

mine is the arm instruction
code:

         ldmia sp!, {r0-pc}^

that's load multiple with increment after indexing and write back from the stack pointer all registers including the program counter and finally load the saved program state register into the current program state register, causing a CPU mode switch. it's basically a full context switch in one instruction.

Adbot
ADBOT LOVES YOU

The Management
Jan 2, 2010

sup, bitch?
comedy answer, nop.

it does nothing, like you're posting

keymaster02
Mar 11, 2014

I had sex with a 32-year old at 16. SA is run by SJWs. Liking 16-year olds is not pedophilia. I hate your pronoun. I like young boys. I donate to the NAACP and probably NAMBLA too.
GAS

The Management
Jan 2, 2010

sup, bitch?

GAS is the GNU Assembler, not an instruction

keymaster02
Mar 11, 2014

I had sex with a 32-year old at 16. SA is run by SJWs. Liking 16-year olds is not pedophilia. I hate your pronoun. I like young boys. I donate to the NAACP and probably NAMBLA too.

The Management posted:

GAS is the GNU Assembler, not an instruction

Thanks for pointing out I'm not so clever after all.

bobbilljim
May 29, 2013

this christmas feels like the very first christmas to me
:shittydog::shittydog::shittydog:
long jump, for going to

Maximum Leader
Dec 5, 2014
id say xor but im not sure its an instruction

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

mov u,gbs

CRIP EATIN BREAD
Jun 24, 2002

Hey stop worrying bout my acting bitch, and worry about your WACK ass music. In the mean time... Eat a hot bowl of Dicks! Ice T



Soiled Meat

at&t syntax?

mods?

Sinestro
Oct 31, 2010

The perfect day needs the perfect set of wheels.
ror

it's like a chinaman laughing

Sweevo
Nov 8, 2007

i sometimes throw cables away

i mean straight into the bin without spending 10+ years in the box of might-come-in-handy-someday first

im a fucking monster

my favourite instructions are like my sex life - undocumented

Sweevo fucked around with this message at 13:47 on Jun 29, 2015

bobbilljim
May 29, 2013

this christmas feels like the very first christmas to me
:shittydog::shittydog::shittydog:

Sweevo posted:

my favourite instructions are like my sex life - rarely used

Sweevo
Nov 8, 2007

i sometimes throw cables away

i mean straight into the bin without spending 10+ years in the box of might-come-in-handy-someday first

im a fucking monster


MOV AL,AL because it does nothing but touch the lower bits of itself

akadajet
Sep 14, 2003

has anybody said the DMX instruction yet?

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

akadajet posted:

has anybody said the DMX instruction yet?

WHAT

carry on then
Jul 10, 2010

by VideoGames

(and can't post for 10 years!)

Sweevo posted:

my favourite instructions are like my sex life - undocumented

more like not implemented lmao

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

carry on then posted:

more like not implemented lmao

lmao

Jerry Bindle
May 16, 2003

Sweevo posted:

MOV AL,AL because it does nothing but touch the lower bits of itself

lolirl

Cat Face Joe
Feb 20, 2005

goth vegan crossfit mom who vapes



prolly the ones that came with my ikea desk

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

Cat Face Joe posted:

prolly the ones that came with my ikea desk

Nice!

graph
Nov 22, 2006

aaag peanuts

come on

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

graph posted:

come on

have you ever listened to dmx

Cat Face Joe
Feb 20, 2005

goth vegan crossfit mom who vapes



Captain Foo posted:

have you ever listened to dmx

here's a primer

https://www.youtube.com/watch?v=X_GT1MREo18

graph
Nov 22, 2006

aaag peanuts

Captain Foo posted:

have you ever listened to dmx

whooooooooooosh

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

graph posted:

whooooooooooosh

:saddowns:

qntm
Jun 17, 2009
https://twitter.com/ppcinstructions

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'


shrdlu

The Management
Jan 2, 2010

sup, bitch?
in PPC the MSB is bit zero lol

Zlodo
Nov 25, 2006
I did some ppc assembly back when I was young and dumb and I still remember the existence of an instruction called rwlimi and that it means rotate word left immediate and mask immediate
so either their mnemonics are actually good or my brain was forever damaged

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?
eieio (PowerPC): enforce in-order execution of I/O

it ensures all pending memory transactions complete before the next instruction, so things like diddling memory-mapped I/O registers that need to happen in a specific order will do so

Farmer Crack-Ass
Jan 2, 2001

this is me posting irl
my favorite assembly instruction is "insert tab A into slot B"

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

Zlodo posted:

I did some ppc assembly back when I was young and dumb and I still remember the existence of an instruction called rwlimi and that it means rotate word left immediate and mask immediate
so either their mnemonics are actually good or my brain was forever damaged

what does your heart tell you

Stymie
Jan 9, 2001

by LITERALLY AN ADMIN
people who program in assembly are even more deeply deluded than the average programmer that they're actually producing something of value

you're not "assembling" anything

Jonny 290
May 5, 2005



[ASK] me about OS/2 Warp
"Assembly is the reverse of disassembly"

Thanks, rear end in a top hat haynes manual

suffix
Jul 27, 2013

Wheeee!

The Management posted:

assembly is the best, write it every day. what's your favorite instruction from any architecture? be sure to provide documentation and why it's your favorite.

mine is the arm instruction
code:
         ldmia sp!, {r0-pc}^
that's load multiple with increment after indexing and write back from the stack pointer all registers including the program counter and finally load the saved program state register into the current program state register, causing a CPU mode switch. it's basically a full context switch in one instruction.

the ldm instructions were removed in a64, nice prehistoric instruction set you've got there,, grandpa

Zlodo
Nov 25, 2006

The Management posted:

assembly is the best, write it every day. what's your favorite instruction from any architecture? be sure to provide documentation and why it's your favorite.

mine is the arm instruction
code:
         ldmia sp!, {r0-pc}^
that's load multiple with increment after indexing and write back from the stack pointer all registers including the program counter and finally load the saved program state register into the current program state register, causing a CPU mode switch. it's basically a full context switch in one instruction.

oh now i remembert soething form arm like bx lr or soething that would cause the arm cpu to switch to a different instruction set (thumb mode) depending on whether the target adress was even
it was from after the period where i actually loved asm, when i was working on gba games and had to figure out how the linker figured out if a symbol was pointing to arm or thuimb code and doiing a gcc -S of the interrupt handling function and editing the reuslting assembly code for soe reason and just kill myself now jesus

gently caress assembly
machine code should never ever translated to and from a text represntation, leave this poo poo to compiler people

ChiralCondensate
Nov 13, 2007

what is that man doing to his colour palette?
Grimey Drawer
i just nop'd in my pants

Hed
Mar 31, 2004

Fun Shoe
I like it when you call me big POPA

hobbesmaster
Jan 28, 2008

Maximum Leader posted:

id say xor but im not sure its an instruction

its eor

incidentally also the name of an assembly programmer that resides in the hundred acre woods

Adbot
ADBOT LOVES YOU

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually

College Slice
OUT

as in get out, op

  • Locked thread