diff --git a/Assembly-program-examples.md b/Assembly-program-examples.md index 4a02ad9..bfab278 100644 --- a/Assembly-program-examples.md +++ b/Assembly-program-examples.md @@ -290,7 +290,9 @@ print_battery: PUSH A ; store A PUSH B ; store B - MOV A, BATTERY_POLL ; indicates we want to poll the battery charge when interrupt sent to battery + MOV A, BATTERY_POLL ; indicates we want to poll the battery charge when + ; interrupt sent to battery + HWI HWID_BATTERY ; battery remaining charge (kilo Joules) ; is stored in B register now