Here is a video of it working:
There were two reasons to why it took so long for this to work. One was that my delay loop was not necessarily the length that I wanted it to be. Instead of being 0.1ms it was 1ms, and I was trying to make it work with the wrong timing. The other reason was that I had the IR output plugged into the wrong port.
But anyways... It works!!
The code: IRsony.asm