From 7fc3a8635db064e2313b36c56c626493c58dd4c6 Mon Sep 17 00:00:00 2001 From: Simon Fortier Date: Sun, 19 Nov 2017 09:39:43 -0500 Subject: [PATCH] Updated Hardware: Battery (markdown) --- Hardware:-Battery.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Hardware:-Battery.md b/Hardware:-Battery.md index 6da7012..61ce7fd 100644 --- a/Hardware:-Battery.md +++ b/Hardware:-Battery.md @@ -13,4 +13,8 @@ Maximum Capacity: 60,000 kJ | `1` | `POLL` | `0 kJ` | Copy the current charge of the battery in kJ in the B register | | `2` | `GET_MAX_CAPACITY` | `0 kJ` | Copy the maximum capacity of the battery in the B register | -As of v1.2a, the only way to refill the battery is to use the temporary `REFILL` = `0xFFFF` value in the A register (See [#2](https://github.com/simon987/Much-Assembly-Required/issues/2)) \ No newline at end of file +As of v1.2a, the only way to refill the battery is to use the temporary `REFILL` = `0xFFFF` value in the A register (See [#2](https://github.com/simon987/Much-Assembly-Required/issues/2)) +```assembly +MOV A, 0xFFFF +HWI 0x000A +```` \ No newline at end of file