If you want to experiment with NDS ROMs on your 3DS, you’ll need to make use of a third-party emulator.