Microsoft BASIC for 6502 has been open sourced. This is quite culture historical feat, so thanks MS!
https://github.com/microsoft/BASIC-M6502
Microsoft BASIC for 6502 Microprocessor - Version 1.1 - History for m6502.asm - microsoft/BASIC-M6502