#development
1 messages · Page 258 of 1
0x000080D2
0xC0035FD6
syscall
franime
0xdeadbabe
alright well theres intro to x86 in a nutshell brought to you by some random skid
0xc0c
no one:
x86_64:
jmp jg jle jne call
true
true
aarch64 instructions and regs are much cleaner than x86 imo
jmp jg jle jne call not sure why theres so many
since offsets would be messed and the opcode would have to be modified
otherwise just compile with like 256 and then change it to whatever
ye
theyre stored as little endian though
so 0F 00 is actually 000F
no
idk
yea there
byte
but yea
yea but endianness has nothing to do with bit order
just the way bytes are stored in memory
big endian is for retards
w0w
lmao
i dont really care which was which just wish people would choose one
so you dont have to t hink about it
but no
anything that matters these days is little endian basically
arm x86
big endian is for network stuff I am pretty certain
little endian is the modern standard
little endian is for cpus
very fun stuff though assembly but compared to C theres very little documentation and tutorials
its more university level
still some good stuff tho
seems pretty self explanatory to me
armv7 armv8 x86 and x64 are all well and easilly documented
they are just in manual form
and only a masochist reads those
I read it fine
its more for reference
don't feel like its too much work
Def is more for reference
eh was just trying to point out that its a lot harder to get good tutorials on it, at least it was for me
Before I was uncultured ™️ i would sign extend by getting the msb and extending it manually to 64 bits. Then I discovered sxtw/sxtx and add Xn, Xn, Wn, sxtw and am glad to say I am no longer uncultured
add xn, xn, wn, sxtwlets you do things like &array[-5] 😍
perfect for O(1) lookup time
if you are transfering a null terminated string in memory will LDR and STR properly copy the null bytes
@tepid olive
like massive im one for the x64
yep
doing that
still stops working after I try to make the string bigger than a certain length
the instructions are not meant to do jobs outside of their mneumonic
i dont write much raw assembly its just for fun
and reverse engineering
It's off the top of your head with experience
lets see
i started this endeavor like last year september
didnt know what an opcode was
yes I null term it
then learned more about cpus and wrote a chip8 interpreter and then gameboy emulator
just keep at it and within 6 months youll be pretty far
a murderer walks your streets tonight
@faint timber use strb 😳
operation code but ye
not str
thanks
in all instances
you are writing 4 bytes when you use str
reverse engineer
assembly assebmly asembly asembely asembliy
Oh shit nvm
yes true
uh, i don't really understand the pseudo instructions you're using
raw assembly patches probably not a lot
raw
still need to know it for that though
the ldr w6, #_bootsrgs + 0x10
getting right offsets and such maybe instruction patches
depending on the compiler it might
@tardy narwhal (mostly) and i are the x86 buffs, for arm help though you're not gonna get better help than shmoo or skorp
throw in - csgo with null
Doesnt matter
and then its guaranteed
its so ugly without the # wtf
can confirm
@tepid olive this is what it does but once I increase the string length and add the additional STR's it stops working
@lethal ice true
@grave sparrow go ahead use type century money
@faint timber I've got no context for your project so idk if that's correct; try hardcoding a register to hold a pointer to your bootargs struct then ldr its fields
damn i was gonna ask spritekit question then realized probably nobody in this server actually uses it
damn i was gonna ask spritekit question then realized probably nobody in this server actually uses it
@lethal ice true
tweaks devs not app devs lol
kekw
true
i am also bored
@narrow mason make #assembly
spooky
plox
i don’t know jack shit about assembly though
@tepid olive I think I know why but I could be wrong
whats the max length ADR can access
adr can do like 4 mb i think
ADRP is 4kb
adrp can do like anything
adrp is way more than 4 kb lmfao
Yeah
Adrp spans fuckin massive lengths
if i remember right, adr is 4mb and adrp can fill any address space
just missing the bottom 12 bits
general boring and dumb rn so here i am
true
true ultra
I guess I should just use adrp then instead of the stock adr that was there
@grave sparrow false actually
are they though
oh i put adr out of muscle memory

printf is actually slower
to minimize syscalls
also it gets turned into puts
so for more printfs its faster than individual syscalls
by c
so when my string is just under or = 0x40 it stops working
treu
@faint timber try copying byte by byte in a loop

lol
rip
damn assembly talk still going on
@cinder island someone seems bored
@cinder island this is fun
@grave sparrow ISNT IT
i always get made fun of for saying assembly is fun af
@cinder island someone seems bored
@faint timber who
yeah bc you say it in general
the average iq in general is like room temperature in alaska
join assembly chat
wtf its too crowded
i think you just have to learn assembly to appreciate how fun
@lethal kayak give me adv dev and i'll do it
@grave sparrow I’m not adv
we cant fit more than like 5 here
ye if we all ping jules enough
mov x0, string_start
add x1, x0, x1 ; where x1 == length of your string, x1 now == string_end
; x2 == buffer to copy to
copy_loop:
ldrb w3, [x0], #1
strb w3, [x2], #1
subs x3, x1, x0
cbnz x3, copy_loop
; nul terminate
strb wzr, [x0]
he will do it
@narrow mason
@narrow mason
make assembly channel
true
wtf
we got ignored when we asked last time
Yes
why nooka is nice
Haha I'm a dumbass
fucking kills me
@grave sparrow assembly uses a lot of recursion, especially when compilers use it to optimize
forgot the strb 😄
only recursion
but like
And this assumes the strings are the same length
bro recursion in assembly isn't that hard
main:
b main
i had a test question
int main(void)
{
asm("jmp main");
}
But @faint timber this is how you'd copy a string
@lethal kayak b #0
of recursively calling a recursive function
instead of going 4 bytes at a time
my brain was fired
b #0 will infinitely lock your processor lmao
it inserts assembly
L
because what if the string length isnt 4 byte aligned
other what
no
idk i dont get paid enough to memorize
just __asm__(...)
asm volatile
nice stereo
yea volatile
only plebs use the nasty __asm__
wtf
or just add .s file and import symbol
inspective c
inline asm sucks ass
fuck inline asm
msvc has good tho
the one good thing microsoft does
you can literally just do that
x86 weirdd

Copies the value from the second operand (source operand) to the I/O port specified with the destination operand (first operand). The source operand can be register AL, AX, or EAX, depending on the size of the port being accessed (8, 16, or 32 bits, respectively); the destination operand can be a byte-immediate or the DX register
oh
that looks like legacy trash
thats all x86 is
😂😂😂
its all legacy
rip
lol
that literally looks like something i would put in my minecraft computer
programs from fucking 1978 still run on it today p sure
asm volatile prevents the the instruction from being deleted during compilation
yes
yea
everythings assembly
lmao no
written in assembly
we have programs to write our programs
volatile tells the compiler not to optimize this line
true
Tells clang to fuck off basically
true
nice
you mean gcc though
controlling faster
No, gcc is gnu trash
obey your master

your life burns faster
TRUE
very true

master of puppets
gcc looks like it was written by scientists
99%
k
bruh
llvm clang looks like it was written by civilized ppl
yea too bad making any portable program in assembly is suicide
calling conventions and symbols
for clang?
if youre doing assembly its for the platform ur on basically
There is no portability in assembly since you're locked to the insteuction set anyway
ye C is the lowest level you can go while still maintaining cross platform ability
its great
python best
wtf
gcc /clang -O3 is absurdly efficient
ew
indentation based language
nfr
expert humans could maybe do better but its not worth the effort

literally just write C code and compile with -O3 and its as fast as possible basically

nfr
good night
gn
gn shmoo
gn
probably
probably wrote it all in assembly
depressing thought
they had assemblers
ye
nfr
no other way to do it
truje
nfr
@grave sparrow cpu
or sometimes there just is literally no way to write it
only read
there are no input lines lol
have you heard of the program that looks at an image of a cpu die with the metal layer removed and can produce the microcode from it
after the first time
a literal image
from this image the 8086 microcode was reproduced
true
ok
just a shit ton of components
true wires fit in micrometers
i made a circuit to add two numbers
in MC

wtf
cheating
my computer is built in survival bro
i just play minecraft
worldedit nice true

worldedit is also nice as a library
thats what a decompiler is
what do u think pseudo code is
you can only get so far
not really
yeah its as good as it gets
lmao
you cannot get better
pseudocode is really fucking good
ye

gm bro i got the lasgna
just try to think about how fucking difficult it is to write a decompiler that produces accurate pseudocode
yea it is
true
a disassembler for arm or x86 is already hard
can i get dev role
learn more assembly then you wont be
i wanna be in the assemble channel
smh
bro im eatingainlasngan
ok true but #assembly tho
gib dev
@cinder island you need to make tweaks to get dev role
then make assembly non dev
jules if you make #assembly you get to buy me nitro
access
it hasnt been created..
yea play csgo with jamie for advanced

yeah i mean when it does
yea it wont
go ahead create #darkkeys-development-2 @narrow mason
if it is (and it stays) ill literally buy nitro rn
how do i bribe eric
dryug
i couldn't even bribe him to give me mem edition
@cinder island sex
@eternal crater assembly channel?
go ahead create #darkkeys-development-2 @narrow mason
@lethal ice
🥰
aaron
In here? No lol
aaron
@primal perch
f
f
In here? No lol
@eternal crater cap will have sex with you
@eternal crater cap will have sex with you
@cinder island
bro just make it developer only then aaron wont be able to see it
lmfao
and its hidden
go ahead
no one knows
Dead channel
double x = position.x - _joystick.parent.position.x - _camera.position.x;
double y = position.y - _joystick.parent.position.y - _camera.position.y;
double power = x * x + y * y;
_moveAngle = atan2(x, y);
if (power > 50 * 50)
{
power = 50 * 50;
x = 50 * sin(_moveAngle);
y = 50 * cos(_moveAngle);
}```
read the code
do it

channel DOA
bro just make it developer only then aaron wont be able to see it
@primal perch then i can't see it
no bro ill use it every day

ok Joe
true
what’s the n stand for
Shift enter
f
I like counting channels
maybe if we give him his foreskin back
Unread
a bot could be set up to remove messages that arent numbers so it doesnt have to be moderated
wtf
Yeah
yeah and the bot has to be written in assembly
yeah and the bot has to be written in assembly
@lethal kayak
But Aaron doesn’t want
yeah important stuff in there
Backroom is great
lmao
is genius backroom more active than adv dev
capt ultra like 
genius backroom more active
thanks jules
go ahead scoob ping admin 10 times again

i leaked backroom
bruh i wanna fuck this lasagna
bruh i wanna fuck this lasagna
@narrow mason
shep i still have not gone through 1/4 of a single roll of electrical tape yet
true
and i have 9 more rolls
wtf
i got thermal paste then never needed it
burn it down
cause it came preapplied to my cooler
wtf thats the shit paste tho
ye true but

laz
true
i have a fan unplugged rn because it was loud
and i dont feel like replacing it rn
bruh he smoller
we literally have a #booster-info but no assembly
and no one uses booster info
:intjsad:
but am i wrong
true
lol

int will_shep_reply()
{
return 0;
}```
deadass havent helped in genie bar in like 5 months
@grave sparrow i mean... a lot of game hacks are just putting nops in certain places

true
soon to be a real emulator
and once we buy tsmc sheets we will create silicon chips for it
on tsmc 7nm+
or samsung 8nm i guess
samsung 8 is cheap as balls
rip channel
wtf
true i just gouged 4 ounces of chocolate
@primal perch
imagine gouging 4 ounces of weed
112g
literally just die
acid yea
imaging gouging 4 ounces of cum
true
FUCK papa johns, FUCK dominos
nobody:
papa johns: papadia, like a sandwich but better
@tepid olive
dominos tastes like fucking cardboard
everyone knows that local spots >>>
true
ye
ye
except actually hungry howies, little caesars, pizza hut have really good pizza
also garlic bread
caesars when fresh
i fucking love garlic bread
i fucking love garlic bread
i fucking love garlic bread
i fucking love garlic bread
little caesars is pretty good
Papa johns has decent pizza stfu
@grave sparrow with 100% more n word
negative
;fr;
when i order pizza from anywhere, i always look forward to the garlic bread more than the pizza
wtf
@lethal ice im eating garlic bread
when i order pizza from anywhere, i always look forward to the garlic bread more than the pizza
@lethal ice lmaooo
true
@s im eating cum
@s
you guys have no idea how much i fucking love garlic
scoop the anti vampire
i would eat cloves of garlic
too late
Scoob snorts garlic
@grave sparrow
true
true
true
!false
thats slow as balls
slow

!false
true
now thats the gamer way
imagine not owning a razer keyboard
i dont give a shit about LEDs or shit but my god this keyboard is so fine
gaming headsets look so fucking ugly lmao
investing in good audio is worth
kekw
@narrow mason
why would anybody wear this???????????????????????
🤮
true
fucking nasty
lol
why would anybody wear this???????????????????????
@lethal ice
hmm
it work
shep headphone reveal
my headset kinda trash i want to get a new one
i don’t even have a headset
served me well but its just old
its not?
Dirtier than shit
@grave sparrow
imagine those were trichomes
yea i got it like 3 weeks ago its good probably retun tho
it hurts my mf ear
with glasses
shot
imagine wearing glasses in 2020
@tepid olive
@grave sparrow
i dont need to
mono monocle eta wen
myopia gang
🧐
my eyes are the same perscription
:frnodfast:
i have good head phone sound but trash mic
my right eye is like 19/20
and my left is like 13/20
and mind blown
big difference

frstache
idk what mine are
i just know i cant see clearly beyond like 6 inches without glasses
so probably shit
if i took out my contacts i couldnt read whats on my monitor from a foot away
thats not 🧢
🧢
i cant read text from monitor without
true

literally has cap in his name
so mines probably around scorp
this man speaks nothing but lies
@grave sparrow

TRUE
👲
man with chinese cap
bro watch some white girl say thats racist
and it gets removed
bro watch some white girl say thats racist
@primal perch

That’s racist
@grave sparrow
like saying chinese is racist
@tepid olive look good?
😦
true
:intjsleep:
@primal perch
1f2003d5

i only think in hex
so the 0x is unnecessary
base 10 doesnt do it for me you know
skorp did
6 messages up
wtf
true
literal who
eta wen
1228 wtfs
962 trues
xpg
963 trues
thats a lot of trues
xpg
true
964 trues
xpg
true
965 trues
true
966 trues
true
xpg
32k
xpg

wtf
this is just from june too
ur account got deleted ye
xpg
Yeah that’s what I mean lol I just got to see you and I didn’t get back from my house today I have a lot to go off work for a little
Yeah that’s why i don’t want me anymore I just can’t do anything anymore I just can’t remember how much you do you want
Yeah I don’t think it’s true but it’s just that it’s true and I think it is a good dev to have
I have to go to get the stuff done and I will get a little more sleep lol I have
Yeah I just don’t think it is a good dev to get a hold on the other stuff that you
Yeah that’s what I mean lol I don’t think you can get a hold on you lol lol yeah that’s why you don’t want it anymore you oknow yeah I don’t know why I am sorry 😢
I have to go to get the stuff done and I will be home 🏠 I have to go to the store 🏬 get a little money 💴 is so much fun 🤩 and I will have them do a
true
11 bro
11 pm
it’s 1:04 sirs
east coast lookin ass
and i have to get up at 9 tomorrow so staying up until 7 probably not gonna do it
Yeah that’s what I mean lol I just can’t do anything anymore I can’t remember if I have a good 😌 lol 😂 just wanted you guys and your friends to do with me that way too lol
Oh no 🤦♀️ just did a great 😊 for a couple hours lol 😂 said you don’t need it but it’s just like 👍🏻 is the only reason you
!mute @tepid olive
You do not have permission to use this command.
t he w i cke d en d
Oh no 🤦🏻♂️ I didn’t get a chance to look 👀 for it I was like 👍🏻 you don’t need it I think 🤔 will get you to go check it out now i have to get it fixed and it is not working so it’s ok cool thanks yeah you
true
@primal perch
!mute @tepid olive
@primal perch
I have to go to get a
I am so sad to see that I have a lot to say I don’t think that
Oh ok well you have a good day
yea true
ok gn pepe10headout
i’ll lissen
its kinda weird
funky riff
:intj:
true
shlorp in 30 seconds
Oh ok well you have a good 😌 day to the day and i don’t know 🤷♀️ and stuff for me that
gn shlorp
Yeah but it’s a hard drive lol 😆 just can’t do anything for like 👍🏻 or something like that it’s a little hard time lol 😆 just said
tru gn
Yeah but it’s a little weird to do you do know it was like 👍🏻 or you want just me a picture lol 😂 I just don’t like 👍🏻 lol 😆 oh yeah yeah I
wtf
Oh yeah you’re a stupid bot 🤖 lol lol oh ok well you have to go to the dev
I have my friends list that I need to get a paid app for that my phone is not really bad I can’t believe it is on my iPhone 📱 I don’t need to reinstall it now I have to do it on my phone 📲 it is
Yeah but that’s what exactly is what I mean I can’t remember what it was lol lol I just can’t remember that lol lol I just got a little nervous about
yet uncounted people remain hopeless
@ Geniuses™
yes
sorry 😦
bat country is tied for my favorite off city of evil
tied for 1st place with burn it down
bat country and beast and the harlot for me
wtf



👍