diff options
| author | Uri Shaked | 2025-02-11 11:01:48 +0200 |
|---|---|---|
| committer | Uri Shaked | 2025-02-11 11:01:48 +0200 |
| commit | 1378808fa3befb80582e1836705e472755505b73 (patch) | |
| tree | cdc39d81d7958a6f155bcf0fd02e903d64bf9e08 /src/cpu | |
| parent | test(timer): fix typo #160 (diff) | |
| download | avr8js-1378808fa3befb80582e1836705e472755505b73.tar.gz avr8js-1378808fa3befb80582e1836705e472755505b73.tar.bz2 avr8js-1378808fa3befb80582e1836705e472755505b73.zip | |
docs: add copyright notice to source code
Diffstat (limited to 'src/cpu')
| -rw-r--r-- | src/cpu/cpu.ts | 3 | ||||
| -rw-r--r-- | src/cpu/instruction.spec.ts | 5 | ||||
| -rw-r--r-- | src/cpu/instruction.ts | 3 | ||||
| -rw-r--r-- | src/cpu/interrupt.spec.ts | 3 | ||||
| -rw-r--r-- | src/cpu/interrupt.ts | 3 |
5 files changed, 16 insertions, 1 deletions
diff --git a/src/cpu/cpu.ts b/src/cpu/cpu.ts index cd9e3e4..62ff40a 100644 --- a/src/cpu/cpu.ts +++ b/src/cpu/cpu.ts @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) Uri Shaked and contributors + /** * AVR 8 CPU data structures * Part of AVR8js diff --git a/src/cpu/instruction.spec.ts b/src/cpu/instruction.spec.ts index cf3e547..aa01876 100644 --- a/src/cpu/instruction.spec.ts +++ b/src/cpu/instruction.spec.ts @@ -1,7 +1,10 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) Uri Shaked and contributors + import { CPU } from './cpu'; import { avrInstruction } from './instruction'; import { assemble } from '../utils/assembler'; -import { describe, it, expect, vi } from 'vitest'; +import { describe, it, expect, vi, beforeEach } from 'vitest'; const r0 = 0; const r1 = 1; diff --git a/src/cpu/instruction.ts b/src/cpu/instruction.ts index d29bfb8..d815733 100644 --- a/src/cpu/instruction.ts +++ b/src/cpu/instruction.ts @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) Uri Shaked and contributors + /** * AVR-8 Instruction Simulation * Part of AVR8js diff --git a/src/cpu/interrupt.spec.ts b/src/cpu/interrupt.spec.ts index 944dbb9..fbf2ebe 100644 --- a/src/cpu/interrupt.spec.ts +++ b/src/cpu/interrupt.spec.ts @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) Uri Shaked and contributors + import { describe, expect, it } from 'vitest'; import { CPU } from './cpu'; import { avrInterrupt } from './interrupt'; diff --git a/src/cpu/interrupt.ts b/src/cpu/interrupt.ts index 2e4ceb9..73b56ee 100644 --- a/src/cpu/interrupt.ts +++ b/src/cpu/interrupt.ts @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) Uri Shaked and contributors + /** * AVR-8 Interrupt Handling * Part of AVR8js |
