From 177ea1276dbc63b84e10b22da3c1f0272b825d05 Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Tue, 19 Nov 2019 14:38:33 +0200 Subject: doc: add some comments --- src/cpu.ts | 7 +++++++ src/instruction.ts | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/src/cpu.ts b/src/cpu.ts index a6e0ab6..8a77bd3 100644 --- a/src/cpu.ts +++ b/src/cpu.ts @@ -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) { -- cgit v1.2.3