I was thinking that this was included in the Apple ][ Integer BASIC ROM, but when I checked it was Woz’s own special instruction set, SWEET-16 which gave compact (if slow) ability to do 16-bit coding on the 6502.
These sorts of things are loads of fun to implement to get a closer feel to bare-metal programming. XKCD published a 16-bit “CPU” machine language 15ish years ago and I remember everyone was rushing to do code golf implementations of it, although I think a slower-paced approach to the project is better for the educational aspects.