Skip to content

Instantly share code, notes, and snippets.

@mit41301
Last active March 14, 2026 06:19
Show Gist options
  • Select an option

  • Save mit41301/f1d70542a3faea94ba5e26ed2b4dab1a to your computer and use it in GitHub Desktop.

Select an option

Save mit41301/f1d70542a3faea94ba5e26ed2b4dab1a to your computer and use it in GitHub Desktop.
12k Code FLASH or ROM DUMP program using BASIC-52
100 REM Utility to hex dump ROM code from Intel 8052-BASIC MCU S.Quest '97
110 COU=0 : BEG=0 : NDD=12287 : FST=0
120 PH1. BEG+FST," = ", : FOR CYC=BEG TO NDD
130 COU=COU+1 : IF COU=17 PH1. CYC+FST," = ", : COU=1
140 PH0. CBY(FST+CYC), : NEXT CYC : PRINT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment