├── .cursorignore ├── .editorconfig ├── .gitattributes ├── .github ├── FUNDING.yml └── workflows │ ├── gh-pages.yml │ ├── lint.yml │ └── test.yml ├── .gitignore ├── .nvmrc ├── .vscode ├── launch.json └── settings.json ├── .yarn ├── patches │ ├── ackee-tracker-npm-5.1.0-0db5cc0193.patch │ └── rxjs-npm-8.0.0-alpha.14-00c47179bc.patch ├── plugins │ └── @yarnpkg │ │ └── plugin-nolyfill.cjs └── releases │ └── yarn-4.11.0.cjs ├── .yarnrc.yml ├── LICENSE ├── README.md ├── __tests__ ├── common │ ├── error.test.ts │ └── utils │ │ ├── classNames.test.ts │ │ ├── common.test.ts │ │ ├── merge.test.ts │ │ └── mergeSafe.test.ts ├── features │ ├── __snapshots__ │ │ ├── cpu.test.ts.snap │ │ └── memory.test.ts.snap │ ├── assembler │ │ ├── __snapshots__ │ │ │ ├── index.test.ts.snap │ │ │ ├── parser.test.ts.snap │ │ │ └── tokenizer.test.ts.snap │ │ ├── index.test.ts │ │ ├── parser.test.ts │ │ └── tokenizer.test.ts │ ├── cpu.test.ts │ └── memory.test.ts ├── rawTransformer.js └── snapshotSerializers.ts ├── eslint.config.js ├── index.html ├── jest.config.js ├── package.json ├── public ├── apple-touch-icon.png ├── favicon.ico ├── pwa-192x192.png └── pwa-512x512.png ├── scripts ├── eslint.js ├── splitVendorChunk.d.ts └── splitVendorChunk.js ├── src ├── app │ ├── App.tsx │ ├── ReloadPrompt.tsx │ ├── ResizablePanel.tsx │ ├── hooks.ts │ └── store │ │ ├── enhancers │ │ ├── getStateWithSelector.ts │ │ ├── injectStoreExtension.ts │ │ └── subscribeChange.ts │ │ ├── index.ts │ │ ├── observers │ │ ├── actionObserver.ts │ │ ├── stateObserver.ts │ │ └── weakMemo.ts │ │ ├── persistence │ │ ├── combinedProvider.ts │ │ ├── index.ts │ │ ├── providers │ │ │ ├── localStorage.ts │ │ │ └── queryParam.ts │ │ └── types.ts │ │ └── selector │ │ ├── index.ts │ │ └── useSyncExternalStoreWithSelector.ts ├── common │ ├── asObservable.ts │ ├── components │ │ ├── Anchor.tsx │ │ ├── CardHeader.tsx │ │ ├── Modal.tsx │ │ ├── ResizablePanel.tsx │ │ └── icons │ │ │ ├── Arrow.tsx │ │ │ ├── ArrowDown.tsx │ │ │ ├── ArrowUp.tsx │ │ │ ├── CheckMark.tsx │ │ │ ├── Close.tsx │ │ │ ├── File.tsx │ │ │ ├── Forward.tsx │ │ │ ├── Github.tsx │ │ │ ├── Help.tsx │ │ │ ├── Play.tsx │ │ │ ├── Share.tsx │ │ │ ├── Spinner.tsx │ │ │ ├── Stop.tsx │ │ │ ├── Undo.tsx │ │ │ ├── View.tsx │ │ │ ├── Wrench.tsx │ │ │ ├── index.ts │ │ │ └── types.ts │ ├── constants.ts │ ├── error.ts │ ├── hooks.ts │ ├── maybe.ts │ ├── observe.ts │ └── utils │ │ ├── classNames.ts │ │ ├── common.ts │ │ ├── context.ts │ │ ├── index.ts │ │ ├── invariant.ts │ │ ├── merge.ts │ │ ├── mergeSafe.ts │ │ └── types.ts ├── core │ ├── README.md │ ├── assembler │ │ ├── README.md │ │ ├── __snapshots__ │ │ │ ├── assembler.spec.ts.snap │ │ │ └── parser.spec.ts.snap │ │ ├── asm.ebnf │ │ ├── assembler.spec.ts │ │ ├── assembler.state.ts │ │ ├── assembler.ts │ │ ├── assembler.utils.ts │ │ ├── assemblyunit.ts │ │ ├── ast.ts │ │ ├── errors.ts │ │ ├── instrset.ts │ │ ├── instrset.utils.ts │ │ ├── lexer.spec.ts │ │ ├── lexer.ts │ │ ├── parser.context.ts │ │ ├── parser.spec.ts │ │ ├── parser.ts │ │ ├── parser.utils.ts │ │ ├── token.stream.ts │ │ ├── token.ts │ │ └── utils.ts │ ├── bus │ │ ├── README.md │ │ └── bus.ts │ ├── clock │ │ ├── README.md │ │ └── clock.ts │ ├── code.ts │ ├── controller │ │ ├── README.md │ │ ├── controller.spec.ts │ │ └── controller.ts │ ├── cpu │ │ ├── README.md │ │ └── cpu.ts │ └── memory │ │ ├── README.md │ │ └── memory.ts ├── features │ ├── assembler │ │ ├── assemble.ts │ │ ├── assemblerSlice.ts │ │ └── core │ │ │ ├── exceptions.ts │ │ │ ├── index.ts │ │ │ ├── parser.ts │ │ │ ├── tokenizer.ts │ │ │ └── types.ts │ ├── controller │ │ ├── ConfigurationMenu.tsx │ │ ├── ControlButtons.tsx │ │ ├── FileMenu.tsx │ │ ├── HelpMenu.tsx │ │ ├── Menu.tsx │ │ ├── MenuButton.tsx │ │ ├── MenuItem.tsx │ │ ├── MenuItems.tsx │ │ ├── Toolbar.tsx │ │ ├── ViewMenu.tsx │ │ ├── controllerSlice.ts │ │ ├── core │ │ │ └── index.ts │ │ ├── hooks.ts │ │ └── selectors.ts │ ├── cpu │ │ ├── CpuRegisters.tsx │ │ ├── RegisterTableRow.tsx │ │ ├── RegisterValueTableCell.tsx │ │ ├── core │ │ │ ├── changes.ts │ │ │ ├── constants.ts │ │ │ ├── exceptions.ts │ │ │ ├── index.ts │ │ │ └── operations.ts │ │ └── cpuSlice.ts │ ├── editor │ │ ├── CodeMirror.tsx │ │ ├── Editor.tsx │ │ ├── EditorMessage.tsx │ │ ├── codemirror │ │ │ ├── annotations.ts │ │ │ ├── asm.ts │ │ │ ├── breakpoints.ts │ │ │ ├── classNames.ts │ │ │ ├── exceptionSink.ts │ │ │ ├── gutter.ts │ │ │ ├── highlightActiveLine.ts │ │ │ ├── highlightActiveLineGutter.ts │ │ │ ├── highlightLine.ts │ │ │ ├── highlightSelectionMatches.ts │ │ │ ├── indentWithTab.ts │ │ │ ├── lineNumbers.ts │ │ │ ├── observable.ts │ │ │ ├── rangeSet.ts │ │ │ ├── setup.ts │ │ │ ├── state.ts │ │ │ ├── text.ts │ │ │ ├── theme.ts │ │ │ ├── vim.ts │ │ │ └── wavyUnderline.ts │ │ ├── editorSlice.ts │ │ ├── effects.ts │ │ ├── examples │ │ │ ├── hardware_interrupts.asm │ │ │ ├── index.ts │ │ │ ├── keyboard_input.asm │ │ │ ├── procedures.asm │ │ │ ├── seven_segment_display.asm │ │ │ ├── software_interrupts.asm │ │ │ ├── template.asm │ │ │ ├── traffic_lights.asm │ │ │ └── visual_display_unit.asm │ │ ├── hooks.ts │ │ └── selectors.ts │ ├── exception │ │ ├── ErrorBoundary.tsx │ │ ├── ExceptionModal.tsx │ │ ├── exceptionSlice.ts │ │ └── hooks.ts │ ├── io │ │ ├── DeviceCard.tsx │ │ ├── IoDevices.tsx │ │ ├── SevenSegmentDisplay.tsx │ │ ├── SimulatedKeyboard.tsx │ │ ├── TrafficLights.tsx │ │ ├── VisualDisplayUnit.tsx │ │ ├── core.ts │ │ ├── hooks.ts │ │ └── ioSlice.ts │ └── memory │ │ ├── Memory.tsx │ │ ├── core.ts │ │ ├── memorySlice.ts │ │ └── selectors.ts ├── main.tsx ├── styles.css ├── ts-reset.d.ts └── vite-env.d.ts ├── tsconfig.json ├── uno.config.ts ├── vite.config.ts ├── vitest.config.ts └── yarn.lock /.cursorignore: -------------------------------------------------------------------------------- 1 | public/ 2 | 3 | LICENSE 4 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | tsconfig.*json linguist-language=JSON-with-Comments 3 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [exuanbo] 2 | -------------------------------------------------------------------------------- /.github/workflows/gh-pages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/.github/workflows/gh-pages.yml -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/.gitignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | lts/* 2 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.yarn/patches/ackee-tracker-npm-5.1.0-0db5cc0193.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/.yarn/patches/ackee-tracker-npm-5.1.0-0db5cc0193.patch -------------------------------------------------------------------------------- /.yarn/patches/rxjs-npm-8.0.0-alpha.14-00c47179bc.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/.yarn/patches/rxjs-npm-8.0.0-alpha.14-00c47179bc.patch -------------------------------------------------------------------------------- /.yarn/plugins/@yarnpkg/plugin-nolyfill.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/.yarn/plugins/@yarnpkg/plugin-nolyfill.cjs -------------------------------------------------------------------------------- /.yarn/releases/yarn-4.11.0.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/.yarn/releases/yarn-4.11.0.cjs -------------------------------------------------------------------------------- /.yarnrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/.yarnrc.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/README.md -------------------------------------------------------------------------------- /__tests__/common/error.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/__tests__/common/error.test.ts -------------------------------------------------------------------------------- /__tests__/common/utils/classNames.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/__tests__/common/utils/classNames.test.ts -------------------------------------------------------------------------------- /__tests__/common/utils/common.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/__tests__/common/utils/common.test.ts -------------------------------------------------------------------------------- /__tests__/common/utils/merge.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/__tests__/common/utils/merge.test.ts -------------------------------------------------------------------------------- /__tests__/common/utils/mergeSafe.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/__tests__/common/utils/mergeSafe.test.ts -------------------------------------------------------------------------------- /__tests__/features/__snapshots__/cpu.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/__tests__/features/__snapshots__/cpu.test.ts.snap -------------------------------------------------------------------------------- /__tests__/features/__snapshots__/memory.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/__tests__/features/__snapshots__/memory.test.ts.snap -------------------------------------------------------------------------------- /__tests__/features/assembler/__snapshots__/index.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/__tests__/features/assembler/__snapshots__/index.test.ts.snap -------------------------------------------------------------------------------- /__tests__/features/assembler/__snapshots__/parser.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/__tests__/features/assembler/__snapshots__/parser.test.ts.snap -------------------------------------------------------------------------------- /__tests__/features/assembler/__snapshots__/tokenizer.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/__tests__/features/assembler/__snapshots__/tokenizer.test.ts.snap -------------------------------------------------------------------------------- /__tests__/features/assembler/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/__tests__/features/assembler/index.test.ts -------------------------------------------------------------------------------- /__tests__/features/assembler/parser.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/__tests__/features/assembler/parser.test.ts -------------------------------------------------------------------------------- /__tests__/features/assembler/tokenizer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/__tests__/features/assembler/tokenizer.test.ts -------------------------------------------------------------------------------- /__tests__/features/cpu.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/__tests__/features/cpu.test.ts -------------------------------------------------------------------------------- /__tests__/features/memory.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/__tests__/features/memory.test.ts -------------------------------------------------------------------------------- /__tests__/rawTransformer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/__tests__/rawTransformer.js -------------------------------------------------------------------------------- /__tests__/snapshotSerializers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/__tests__/snapshotSerializers.ts -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/eslint.config.js -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/index.html -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/package.json -------------------------------------------------------------------------------- /public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/public/apple-touch-icon.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/pwa-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/public/pwa-192x192.png -------------------------------------------------------------------------------- /public/pwa-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/public/pwa-512x512.png -------------------------------------------------------------------------------- /scripts/eslint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/scripts/eslint.js -------------------------------------------------------------------------------- /scripts/splitVendorChunk.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/scripts/splitVendorChunk.d.ts -------------------------------------------------------------------------------- /scripts/splitVendorChunk.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/scripts/splitVendorChunk.js -------------------------------------------------------------------------------- /src/app/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/app/App.tsx -------------------------------------------------------------------------------- /src/app/ReloadPrompt.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/app/ReloadPrompt.tsx -------------------------------------------------------------------------------- /src/app/ResizablePanel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/app/ResizablePanel.tsx -------------------------------------------------------------------------------- /src/app/hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/app/hooks.ts -------------------------------------------------------------------------------- /src/app/store/enhancers/getStateWithSelector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/app/store/enhancers/getStateWithSelector.ts -------------------------------------------------------------------------------- /src/app/store/enhancers/injectStoreExtension.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/app/store/enhancers/injectStoreExtension.ts -------------------------------------------------------------------------------- /src/app/store/enhancers/subscribeChange.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/app/store/enhancers/subscribeChange.ts -------------------------------------------------------------------------------- /src/app/store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/app/store/index.ts -------------------------------------------------------------------------------- /src/app/store/observers/actionObserver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/app/store/observers/actionObserver.ts -------------------------------------------------------------------------------- /src/app/store/observers/stateObserver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/app/store/observers/stateObserver.ts -------------------------------------------------------------------------------- /src/app/store/observers/weakMemo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/app/store/observers/weakMemo.ts -------------------------------------------------------------------------------- /src/app/store/persistence/combinedProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/app/store/persistence/combinedProvider.ts -------------------------------------------------------------------------------- /src/app/store/persistence/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/app/store/persistence/index.ts -------------------------------------------------------------------------------- /src/app/store/persistence/providers/localStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/app/store/persistence/providers/localStorage.ts -------------------------------------------------------------------------------- /src/app/store/persistence/providers/queryParam.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/app/store/persistence/providers/queryParam.ts -------------------------------------------------------------------------------- /src/app/store/persistence/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/app/store/persistence/types.ts -------------------------------------------------------------------------------- /src/app/store/selector/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/app/store/selector/index.ts -------------------------------------------------------------------------------- /src/app/store/selector/useSyncExternalStoreWithSelector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/app/store/selector/useSyncExternalStoreWithSelector.ts -------------------------------------------------------------------------------- /src/common/asObservable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/asObservable.ts -------------------------------------------------------------------------------- /src/common/components/Anchor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/Anchor.tsx -------------------------------------------------------------------------------- /src/common/components/CardHeader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/CardHeader.tsx -------------------------------------------------------------------------------- /src/common/components/Modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/Modal.tsx -------------------------------------------------------------------------------- /src/common/components/ResizablePanel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/ResizablePanel.tsx -------------------------------------------------------------------------------- /src/common/components/icons/Arrow.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/icons/Arrow.tsx -------------------------------------------------------------------------------- /src/common/components/icons/ArrowDown.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/icons/ArrowDown.tsx -------------------------------------------------------------------------------- /src/common/components/icons/ArrowUp.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/icons/ArrowUp.tsx -------------------------------------------------------------------------------- /src/common/components/icons/CheckMark.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/icons/CheckMark.tsx -------------------------------------------------------------------------------- /src/common/components/icons/Close.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/icons/Close.tsx -------------------------------------------------------------------------------- /src/common/components/icons/File.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/icons/File.tsx -------------------------------------------------------------------------------- /src/common/components/icons/Forward.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/icons/Forward.tsx -------------------------------------------------------------------------------- /src/common/components/icons/Github.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/icons/Github.tsx -------------------------------------------------------------------------------- /src/common/components/icons/Help.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/icons/Help.tsx -------------------------------------------------------------------------------- /src/common/components/icons/Play.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/icons/Play.tsx -------------------------------------------------------------------------------- /src/common/components/icons/Share.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/icons/Share.tsx -------------------------------------------------------------------------------- /src/common/components/icons/Spinner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/icons/Spinner.tsx -------------------------------------------------------------------------------- /src/common/components/icons/Stop.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/icons/Stop.tsx -------------------------------------------------------------------------------- /src/common/components/icons/Undo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/icons/Undo.tsx -------------------------------------------------------------------------------- /src/common/components/icons/View.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/icons/View.tsx -------------------------------------------------------------------------------- /src/common/components/icons/Wrench.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/icons/Wrench.tsx -------------------------------------------------------------------------------- /src/common/components/icons/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/components/icons/index.ts -------------------------------------------------------------------------------- /src/common/components/icons/types.ts: -------------------------------------------------------------------------------- 1 | export interface IconProps { 2 | [prop: string]: unknown 3 | } 4 | -------------------------------------------------------------------------------- /src/common/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/constants.ts -------------------------------------------------------------------------------- /src/common/error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/error.ts -------------------------------------------------------------------------------- /src/common/hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/hooks.ts -------------------------------------------------------------------------------- /src/common/maybe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/maybe.ts -------------------------------------------------------------------------------- /src/common/observe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/observe.ts -------------------------------------------------------------------------------- /src/common/utils/classNames.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/utils/classNames.ts -------------------------------------------------------------------------------- /src/common/utils/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/utils/common.ts -------------------------------------------------------------------------------- /src/common/utils/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/utils/context.ts -------------------------------------------------------------------------------- /src/common/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/utils/index.ts -------------------------------------------------------------------------------- /src/common/utils/invariant.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/utils/invariant.ts -------------------------------------------------------------------------------- /src/common/utils/merge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/utils/merge.ts -------------------------------------------------------------------------------- /src/common/utils/mergeSafe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/utils/mergeSafe.ts -------------------------------------------------------------------------------- /src/common/utils/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/common/utils/types.ts -------------------------------------------------------------------------------- /src/core/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/README.md -------------------------------------------------------------------------------- /src/core/assembler/README.md: -------------------------------------------------------------------------------- 1 | # Assembler 2 | -------------------------------------------------------------------------------- /src/core/assembler/__snapshots__/assembler.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/__snapshots__/assembler.spec.ts.snap -------------------------------------------------------------------------------- /src/core/assembler/__snapshots__/parser.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/__snapshots__/parser.spec.ts.snap -------------------------------------------------------------------------------- /src/core/assembler/asm.ebnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/asm.ebnf -------------------------------------------------------------------------------- /src/core/assembler/assembler.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/assembler.spec.ts -------------------------------------------------------------------------------- /src/core/assembler/assembler.state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/assembler.state.ts -------------------------------------------------------------------------------- /src/core/assembler/assembler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/assembler.ts -------------------------------------------------------------------------------- /src/core/assembler/assembler.utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/assembler.utils.ts -------------------------------------------------------------------------------- /src/core/assembler/assemblyunit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/assemblyunit.ts -------------------------------------------------------------------------------- /src/core/assembler/ast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/ast.ts -------------------------------------------------------------------------------- /src/core/assembler/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/errors.ts -------------------------------------------------------------------------------- /src/core/assembler/instrset.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/instrset.ts -------------------------------------------------------------------------------- /src/core/assembler/instrset.utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/instrset.utils.ts -------------------------------------------------------------------------------- /src/core/assembler/lexer.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/lexer.spec.ts -------------------------------------------------------------------------------- /src/core/assembler/lexer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/lexer.ts -------------------------------------------------------------------------------- /src/core/assembler/parser.context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/parser.context.ts -------------------------------------------------------------------------------- /src/core/assembler/parser.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/parser.spec.ts -------------------------------------------------------------------------------- /src/core/assembler/parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/parser.ts -------------------------------------------------------------------------------- /src/core/assembler/parser.utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/parser.utils.ts -------------------------------------------------------------------------------- /src/core/assembler/token.stream.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/token.stream.ts -------------------------------------------------------------------------------- /src/core/assembler/token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/token.ts -------------------------------------------------------------------------------- /src/core/assembler/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/assembler/utils.ts -------------------------------------------------------------------------------- /src/core/bus/README.md: -------------------------------------------------------------------------------- 1 | # Bus 2 | -------------------------------------------------------------------------------- /src/core/bus/bus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/bus/bus.ts -------------------------------------------------------------------------------- /src/core/clock/README.md: -------------------------------------------------------------------------------- 1 | # Clock 2 | -------------------------------------------------------------------------------- /src/core/clock/clock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/clock/clock.ts -------------------------------------------------------------------------------- /src/core/code.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/code.ts -------------------------------------------------------------------------------- /src/core/controller/README.md: -------------------------------------------------------------------------------- 1 | # Controller 2 | -------------------------------------------------------------------------------- /src/core/controller/controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/controller/controller.spec.ts -------------------------------------------------------------------------------- /src/core/controller/controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/controller/controller.ts -------------------------------------------------------------------------------- /src/core/cpu/README.md: -------------------------------------------------------------------------------- 1 | # CPU 2 | -------------------------------------------------------------------------------- /src/core/cpu/cpu.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/cpu/cpu.ts -------------------------------------------------------------------------------- /src/core/memory/README.md: -------------------------------------------------------------------------------- 1 | # Memory 2 | -------------------------------------------------------------------------------- /src/core/memory/memory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/core/memory/memory.ts -------------------------------------------------------------------------------- /src/features/assembler/assemble.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/assembler/assemble.ts -------------------------------------------------------------------------------- /src/features/assembler/assemblerSlice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/assembler/assemblerSlice.ts -------------------------------------------------------------------------------- /src/features/assembler/core/exceptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/assembler/core/exceptions.ts -------------------------------------------------------------------------------- /src/features/assembler/core/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/assembler/core/index.ts -------------------------------------------------------------------------------- /src/features/assembler/core/parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/assembler/core/parser.ts -------------------------------------------------------------------------------- /src/features/assembler/core/tokenizer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/assembler/core/tokenizer.ts -------------------------------------------------------------------------------- /src/features/assembler/core/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/assembler/core/types.ts -------------------------------------------------------------------------------- /src/features/controller/ConfigurationMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/controller/ConfigurationMenu.tsx -------------------------------------------------------------------------------- /src/features/controller/ControlButtons.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/controller/ControlButtons.tsx -------------------------------------------------------------------------------- /src/features/controller/FileMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/controller/FileMenu.tsx -------------------------------------------------------------------------------- /src/features/controller/HelpMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/controller/HelpMenu.tsx -------------------------------------------------------------------------------- /src/features/controller/Menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/controller/Menu.tsx -------------------------------------------------------------------------------- /src/features/controller/MenuButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/controller/MenuButton.tsx -------------------------------------------------------------------------------- /src/features/controller/MenuItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/controller/MenuItem.tsx -------------------------------------------------------------------------------- /src/features/controller/MenuItems.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/controller/MenuItems.tsx -------------------------------------------------------------------------------- /src/features/controller/Toolbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/controller/Toolbar.tsx -------------------------------------------------------------------------------- /src/features/controller/ViewMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/controller/ViewMenu.tsx -------------------------------------------------------------------------------- /src/features/controller/controllerSlice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/controller/controllerSlice.ts -------------------------------------------------------------------------------- /src/features/controller/core/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/controller/core/index.ts -------------------------------------------------------------------------------- /src/features/controller/hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/controller/hooks.ts -------------------------------------------------------------------------------- /src/features/controller/selectors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/controller/selectors.ts -------------------------------------------------------------------------------- /src/features/cpu/CpuRegisters.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/cpu/CpuRegisters.tsx -------------------------------------------------------------------------------- /src/features/cpu/RegisterTableRow.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/cpu/RegisterTableRow.tsx -------------------------------------------------------------------------------- /src/features/cpu/RegisterValueTableCell.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/cpu/RegisterValueTableCell.tsx -------------------------------------------------------------------------------- /src/features/cpu/core/changes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/cpu/core/changes.ts -------------------------------------------------------------------------------- /src/features/cpu/core/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/cpu/core/constants.ts -------------------------------------------------------------------------------- /src/features/cpu/core/exceptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/cpu/core/exceptions.ts -------------------------------------------------------------------------------- /src/features/cpu/core/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/cpu/core/index.ts -------------------------------------------------------------------------------- /src/features/cpu/core/operations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/cpu/core/operations.ts -------------------------------------------------------------------------------- /src/features/cpu/cpuSlice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/cpu/cpuSlice.ts -------------------------------------------------------------------------------- /src/features/editor/CodeMirror.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/CodeMirror.tsx -------------------------------------------------------------------------------- /src/features/editor/Editor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/Editor.tsx -------------------------------------------------------------------------------- /src/features/editor/EditorMessage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/EditorMessage.tsx -------------------------------------------------------------------------------- /src/features/editor/codemirror/annotations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/codemirror/annotations.ts -------------------------------------------------------------------------------- /src/features/editor/codemirror/asm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/codemirror/asm.ts -------------------------------------------------------------------------------- /src/features/editor/codemirror/breakpoints.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/codemirror/breakpoints.ts -------------------------------------------------------------------------------- /src/features/editor/codemirror/classNames.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/codemirror/classNames.ts -------------------------------------------------------------------------------- /src/features/editor/codemirror/exceptionSink.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/codemirror/exceptionSink.ts -------------------------------------------------------------------------------- /src/features/editor/codemirror/gutter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/codemirror/gutter.ts -------------------------------------------------------------------------------- /src/features/editor/codemirror/highlightActiveLine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/codemirror/highlightActiveLine.ts -------------------------------------------------------------------------------- /src/features/editor/codemirror/highlightActiveLineGutter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/codemirror/highlightActiveLineGutter.ts -------------------------------------------------------------------------------- /src/features/editor/codemirror/highlightLine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/codemirror/highlightLine.ts -------------------------------------------------------------------------------- /src/features/editor/codemirror/highlightSelectionMatches.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/codemirror/highlightSelectionMatches.ts -------------------------------------------------------------------------------- /src/features/editor/codemirror/indentWithTab.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/codemirror/indentWithTab.ts -------------------------------------------------------------------------------- /src/features/editor/codemirror/lineNumbers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/codemirror/lineNumbers.ts -------------------------------------------------------------------------------- /src/features/editor/codemirror/observable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/codemirror/observable.ts -------------------------------------------------------------------------------- /src/features/editor/codemirror/rangeSet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/codemirror/rangeSet.ts -------------------------------------------------------------------------------- /src/features/editor/codemirror/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/codemirror/setup.ts -------------------------------------------------------------------------------- /src/features/editor/codemirror/state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/codemirror/state.ts -------------------------------------------------------------------------------- /src/features/editor/codemirror/text.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/codemirror/text.ts -------------------------------------------------------------------------------- /src/features/editor/codemirror/theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/codemirror/theme.ts -------------------------------------------------------------------------------- /src/features/editor/codemirror/vim.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/codemirror/vim.ts -------------------------------------------------------------------------------- /src/features/editor/codemirror/wavyUnderline.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/codemirror/wavyUnderline.ts -------------------------------------------------------------------------------- /src/features/editor/editorSlice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/editorSlice.ts -------------------------------------------------------------------------------- /src/features/editor/effects.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/effects.ts -------------------------------------------------------------------------------- /src/features/editor/examples/hardware_interrupts.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/examples/hardware_interrupts.asm -------------------------------------------------------------------------------- /src/features/editor/examples/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/examples/index.ts -------------------------------------------------------------------------------- /src/features/editor/examples/keyboard_input.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/examples/keyboard_input.asm -------------------------------------------------------------------------------- /src/features/editor/examples/procedures.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/examples/procedures.asm -------------------------------------------------------------------------------- /src/features/editor/examples/seven_segment_display.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/examples/seven_segment_display.asm -------------------------------------------------------------------------------- /src/features/editor/examples/software_interrupts.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/examples/software_interrupts.asm -------------------------------------------------------------------------------- /src/features/editor/examples/template.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/examples/template.asm -------------------------------------------------------------------------------- /src/features/editor/examples/traffic_lights.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/examples/traffic_lights.asm -------------------------------------------------------------------------------- /src/features/editor/examples/visual_display_unit.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/examples/visual_display_unit.asm -------------------------------------------------------------------------------- /src/features/editor/hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/hooks.ts -------------------------------------------------------------------------------- /src/features/editor/selectors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/editor/selectors.ts -------------------------------------------------------------------------------- /src/features/exception/ErrorBoundary.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/exception/ErrorBoundary.tsx -------------------------------------------------------------------------------- /src/features/exception/ExceptionModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/exception/ExceptionModal.tsx -------------------------------------------------------------------------------- /src/features/exception/exceptionSlice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/exception/exceptionSlice.ts -------------------------------------------------------------------------------- /src/features/exception/hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/exception/hooks.ts -------------------------------------------------------------------------------- /src/features/io/DeviceCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/io/DeviceCard.tsx -------------------------------------------------------------------------------- /src/features/io/IoDevices.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/io/IoDevices.tsx -------------------------------------------------------------------------------- /src/features/io/SevenSegmentDisplay.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/io/SevenSegmentDisplay.tsx -------------------------------------------------------------------------------- /src/features/io/SimulatedKeyboard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/io/SimulatedKeyboard.tsx -------------------------------------------------------------------------------- /src/features/io/TrafficLights.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/io/TrafficLights.tsx -------------------------------------------------------------------------------- /src/features/io/VisualDisplayUnit.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/io/VisualDisplayUnit.tsx -------------------------------------------------------------------------------- /src/features/io/core.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/io/core.ts -------------------------------------------------------------------------------- /src/features/io/hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/io/hooks.ts -------------------------------------------------------------------------------- /src/features/io/ioSlice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/io/ioSlice.ts -------------------------------------------------------------------------------- /src/features/memory/Memory.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/memory/Memory.tsx -------------------------------------------------------------------------------- /src/features/memory/core.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/memory/core.ts -------------------------------------------------------------------------------- /src/features/memory/memorySlice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/memory/memorySlice.ts -------------------------------------------------------------------------------- /src/features/memory/selectors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/features/memory/selectors.ts -------------------------------------------------------------------------------- /src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/main.tsx -------------------------------------------------------------------------------- /src/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/styles.css -------------------------------------------------------------------------------- /src/ts-reset.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/ts-reset.d.ts -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/src/vite-env.d.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/tsconfig.json -------------------------------------------------------------------------------- /uno.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/uno.config.ts -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/vite.config.ts -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/vitest.config.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/exuanbo/assembler-simulator/HEAD/yarn.lock --------------------------------------------------------------------------------