mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
bb09a1ec33
Stop stringifying opcodes during runtime and only do so upon inspection. Moves all the debugging logic to a common place to allow building an interface.
7 lines
158 B
TypeScript
7 lines
158 B
TypeScript
import { byte } from '../../js/types';
|
|
|
|
export const assertByte = (b: byte) => {
|
|
expect(b <= 0xFF).toEqual(true);
|
|
expect(b >= 0x00).toEqual(true);
|
|
};
|