Telegramy
Articles
About
« Rev
@programminginc
1371
Fwd »
Anonymous
I used sum=0 and then starting loop from 1 to 10 containing sum=sum+i
Anonymous
But it works for c++
Anonymous
Not c
Anonymous
Help
Rohit
Why its not work Help me
Rohit
I tried to give data from user but its not print in file
BinaryByter
Anonymous
recommendations to be IDE for C and c ++
Rohit
recommendations to be IDE for C and c ++
Code block and dev c++
BinaryByter
whoa
BinaryByter
one does not simply recommend dev c++
BinaryByter
i'd go with CLion
BinaryByter
or Code Blocks
Anonymous
Code block and dev c++
I do not like his appearance
BinaryByter
visual studio is another option
BinaryByter
Qt creator
Anonymous
I use windows
BinaryByter
i assumed that
Anonymous
Mat
Help
No
Anonymous
Hi... somebody hace used fue KonBoot?
Anonymous
The*
Anonymous
is talking about ASM allowed?
olli
is talking about ASM allowed?
"assembly also allowed"
Anonymous
So i'm mixing ASM with C++
Anonymous
How could i store a argument passed to a Assembly function into a register
Anonymous
(Would prefer ebx)
olli
How could i store a argument passed to a Assembly function into a register
How the arguments are passed to the function depends on your ABI which is defined by your architecture and compiler
Anonymous
x64
Anonymous
I'm using NASM
olli
I'm using NASM
Which compiler?
Anonymous
nasm is the compiler
olli
nasm is the compiler
nasm is a (dis-)assembler
Anonymous
O VisualStudio compiler
Anonymous
I'm using Clion with cmake
olli
O VisualStudio compiler
MSVC passes the first argument to the function in rcx and the second one in rdx (or xmm0 and xmm1)
Anonymous
ANy good docs to find all that info?
olli
ANy good docs to find all that info?
assuming x64, for MSVC https://docs.microsoft.com/en-us/cpp/build/x64-calling-convention?view=vs-2017
Anonymous
http://this.is-a-professional-domain.com/xUgiq57.png
Ariana
So i'm mixing ASM with C++
extremely dangerous
Anonymous
Hu
harry
hi
harry
win 10 64 bit pro
olli
http://this.is-a-professional-domain.com/xUgiq57.png
rcx is 64 bit where as eax is 32 .. either mov rax, rcx or mov eax, ecx
Ariana
(Try using a debugger)
Anonymous
What is a good debugger
Ariana
gdb-peda (decent to start) r2 (just forget about this if you don’t already abuse vim) gef (upgraded peda)
Anonymous
I realy suck in assembly
Ariana
Go stpewise
Ariana
Gdb is the most basic
Anonymous
Well i want to learn ASM so i tought im goint to mess with it using C++
joel
what exactly is parsing
olli
Well i want to learn ASM so i tought im goint to mess with it using C++
write some code, preferably in C, and look at the generated disassembly. Mess with some functions and see what happens
Anonymous
How could i get the ASM from a C function
Anonymous
I know its some G++ flag i think
olli
I know its some G++ flag i think
either using objdump from the generated assembly, otherwise with gcc -masm=intel -S
Anonymous
Where could i find the x86-calling-convention
Anonymous
Can only find x64 from ms page
Mat
win 10 64 bit pro
?
olli
Where could i find the x86-calling-convention
https://docs.microsoft.com/en-us/cpp/cpp/calling-conventions?view=vs-2019 keep in mind, different compiler/different platforms are likely to have different conventions
Edward
Hi,im developer
Anonymous
Hi,im developer
oh great!
Edward
How this community going on
Edward
Ok
Edward
Thanks @MissRose_bot
klimi
Test
Mat
Test
Welcome back!
klimi
Welcome back!
I hate telegram mate
klimi
It's bullying me...
klimi
And thanks a bunch :3
klimi
Oh he made me admin so I could write, that's kind
klimi
Thanks @roxifas
Anonymous
Oh he made me admin so I could write, that's kind
You are a pro..?
klimi
You are a pro..?
Sorry?
Anonymous
I'm asking..you are pro in c and c++
Anonymous
?
Anonymous
Bcoz. You are admin
Anonymous
That's why I am asking
Mat
Bcoz. You are admin
An admin is not necessarily a pro
klimi
I'm asking..you are pro in c and c++
No
« Rev
@programminginc
1371
Fwd »