How to write an assembly code used for obtaining code end address in PROM?

Thanks a lot!

More questions in this forum