Options to show registers in different number systems
The numbers on the UI are shown as hexadecimal numbers. A useful feature would be to have a dropdown somewhere on the UI to change the number system in which the registers are displayed. Possible alternatives to hexadecimal numbers would be
- Binary numbers
- Octal numbers
- Decimal numbers
|
const displayReg = (r) => r.toString(16).padStart(4, '0'); |
Options to show registers in different number systems
The numbers on the UI are shown as hexadecimal numbers. A useful feature would be to have a dropdown somewhere on the UI to change the number system in which the registers are displayed. Possible alternatives to hexadecimal numbers would be
8086.js/src/components/Register/index.jsx
Line 49 in 017505b