# B9_MUL - working-source public API
File: `src/lib/b9/b9_mul.inc`; entry: `B9_MUL`.
- All pointers address caller-accessible UA14 RAM; caller establishes valid stack and `$SX=0`, `$SY=1`.
- `$10/$11`: A (nine-byte B9), `$12/$13`: B (nine-byte B9), `$14/$15`: writable output (nine bytes).
- `$0=0`: success, exact nine-byte B9 output. `$0=1`: invalid encoding. `$0=2`: computed result out of B9 encoded range. On either failure, output destination remains unchanged; input operands remain unchanged.
- The destination may exactly alias either input; otherwise input/output buffers must not overlap even partially. All non-guaranteed registers, IX and flags may be clobbered; non-reentrant.
- Dependencies: `lib/b9/b9_value.inc` for `B9_COPY`, one private `_BM_*` engine, B9M scratch UA14 3B00h..3BACh. No resident firmware math call and no Math 1.0 runtime include.
- Source provenance: the entire kernel after public wrapper was mechanically remapped from immutable `lib/math10/math10_mul.inc` (SHA-256 926636382e293d6ed000107b369b25cfc20cdd75c33f2f64df0e6c9df9f0c38a). Functionality must still be established by actual HD61/emulator tests.
- M11 consumer `src/lib/math11/mul.inc` uses the test app's `M_IN`, `M_A_INB`, `M_OUT` and preserves the distinct `M11_MUL` public entry.
Host source check: `src/tests/test_b9_mul_host.py`; integrated test: `src/tests/test_b9_test01.py` and owner Test2 report after native compilation.
**No release or HD61 PASS claimed.**