Moving Mario around in a PC version of Super Mario 64 is all about configuring your emulator's controls.
Every emulator includes a control configuration option somewhere in its application menu. Open that menu, set the keys or controller buttons to match the moves you want, and save your settings. Once that is done, you will be steering Mario exactly how you like.