diff options
| author | Uri Shaked | 2019-11-19 14:38:33 +0200 |
|---|---|---|
| committer | Uri Shaked | 2019-11-19 14:38:33 +0200 |
| commit | 177ea1276dbc63b84e10b22da3c1f0272b825d05 (patch) | |
| tree | 40c7869996961b3b8e21b05f41bfee3baf360637 | |
| parent | feat: implement some AVR instructions + tests (diff) | |
| download | avr8js-177ea1276dbc63b84e10b22da3c1f0272b825d05.tar.gz avr8js-177ea1276dbc63b84e10b22da3c1f0272b825d05.tar.bz2 avr8js-177ea1276dbc63b84e10b22da3c1f0272b825d05.zip | |
doc: add some comments
Diffstat (limited to '')
| -rw-r--r-- | src/cpu.ts | 7 | ||||
| -rw-r--r-- | src/instruction.ts | 8 |
2 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,10 @@ +/** + * AVR 8 CPU data structures + * Part of avr8js + * + * Copyright (C) 2019, Uri Shaked + */ + import { u16, u8 } from './types'; export interface ICPU { diff --git a/src/instruction.ts b/src/instruction.ts index 2b56def..f7789d2 100644 --- a/src/instruction.ts +++ b/src/instruction.ts @@ -1,3 +1,11 @@ +/** + * AVR-8 Instruction Simulation + * Part of avr8js + * Reference: http://ww1.microchip.com/downloads/en/devicedoc/atmel-0856-avr-instruction-set-manual.pdf + * + * Copyright (C) 2019, Uri Shaked + */ + import { ICPU } from './cpu'; export function avrInstruction(cpu: ICPU) { |
