@jhlagado/azm 0.2.6 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -148,6 +148,16 @@ export function getRegisterCareProfile(name) {
148
148
  stackBalanced: true,
149
149
  hasUnknownStackEffect: false,
150
150
  };
151
+ const scanKeys = {
152
+ name: mon3ApiTargetName(16, 'SCAN_KEYS'),
153
+ mayRead: ['C'],
154
+ mayWrite: ['A', 'carry', 'zero'],
155
+ mayOutput: ['A', 'carry', 'zero'],
156
+ preserved: ['B', 'C', 'H', 'L'],
157
+ valueRelations: [{ out: ['A', 'carry', 'zero'], from: [] }],
158
+ stackBalanced: true,
159
+ hasUnknownStackEffect: false,
160
+ };
151
161
  const parseMatrixScan = {
152
162
  name: mon3ApiTargetName(54, 'PARSE_MATRIX_SCAN'),
153
163
  mayRead: ['C', 'D', 'E', 'zero'],
@@ -199,6 +209,7 @@ export function getRegisterCareProfile(name) {
199
209
  [13, stringToLcd],
200
210
  [14, charToLcd],
201
211
  [15, commandToLcd],
212
+ [16, scanKeys],
202
213
  [18, matrixScan],
203
214
  [54, parseMatrixScan],
204
215
  ])),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jhlagado/azm",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "AZM assembler for the Z80 family (Node.js CLI)",
5
5
  "license": "GPL-3.0-only",
6
6
  "engines": {