Skip to content

Commit 959112f

Browse files
committed
chore(chore): todos
1 parent 04bd74c commit 959112f

3 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/core/assembler/assembler.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,6 @@ function resolveStringLiteral({ children: chars, loc }: AST.StringLiteral): numb
274274
})
275275
}
276276

277-
// TODO: move to separate file
278277
const MIN_SIGNED8 = -0b10000000
279278
const MAX_SIGNED8 = 0b01111111
280279
const MAX_UNSIGNED8 = 0b11111111

src/core/bus/bus.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const initialControlLines: ControlLines = {
2525
}
2626

2727
export class Bus {
28+
// TODO: validate data and address
2829
readonly data$ = new BehaviorSubject(0x00)
2930
readonly address$ = new BehaviorSubject(0x00)
3031
readonly control$ = new BehaviorSubject(initialControlLines)

src/core/memory/memory.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export interface MemoryOperation {
1515
}
1616

1717
export class Memory {
18-
// TODO: use shared constants
1918
private readonly data = new Uint8Array(0x100)
2019

2120
readonly read$: Observable<MemoryOperation>

0 commit comments

Comments
 (0)