Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

This video is an answer to a viewer's request. Something I skipped over. It's all about where C++ passes parameters, and how to return values. We cover the first 4 parameters, integer, floating point and pointers.


Have a watch, cheers for support all! I am keen to find some little thanks to upload for y'all soon.

Files

Previews only

Modern x64 Assembly 12: Passing Parameters

In this video, we look at how to pass integer, pointer and floating point parameters to ASM. And where to place them so that C++ will read them as return values from a function. Basically, we use RCX, RDX, R8 and R9 for integer and pointer parameters; and XMM0 to XMM3 for floating point. I really picked a terrible spot to record this one. I will try not to record in the wind again. I am trying to get into a more regular upload schedule. Sorry in advance if the audio is difficult to hear. This vid is an answer to a comment from Belgian Geek. If you watch it mate, I hope it's of some help :) New Website (shoutout to AztockDog of The Lost Underground!): https://whatsacreel.net/ Patreon: https://www.patreon.com/whatsacreel FaceBook: https://www.facebook.com/whatsacreel/ Music Channel: https://www.youtube.com/channel/UC2nW... Software used to make this vid: Visual Studio 2017 Community: https://www.visualstudio.com/downloads/ Audacity: https://www.audacityteam.org/ OBS: https://obsproject.com/ Shotcut: https://shotcut.org/ ASM Dude VS 2017 Extension: https://marketplace.visualstudio.com/items?itemName=Henk-JanLebbink.AsmDude Renoise (for it's amazing hi pass filters and EQ; it aint free but it's really, really good! https://www.renoise.com/

Comments

No comments found for this post.