Skip to content

Instantly share code, notes, and snippets.

View inkrement's full-sized avatar

Christian Hotz-Behofsits inkrement

View GitHub Profile
@inkrement
inkrement / 2.2.1.s
Created March 16, 2012 10:49
Mikrocontroller
; Christian Hotz-Behofsits 2012
; logical functions in asm (atmega 1280)
;
; 1st PA4: (PA1 and PA2) or PA3
; 2nd PA5: (PA1 or not PA2) and PA3
; 3rd PA6: PA1 xor PA2
; 3rd PA7: PA1 == PA2
.NOLIST
.INCLUDE "m1280def.inc"
@inkrement
inkrement / stackadd.s
Created March 15, 2012 11:39
AVR Stack Addition
; Christian Hotz-Behofsits 2012
; Simple AVRASM Test - take all values from the Stack, add them and print to PORTA
.NOLIST
.INCLUDE "m1280def.inc"
.LIST
.section .text
.org 0x0000
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.getbro.api</groupId>
<artifactId>backend</artifactId>
<packaging>war</packaging>
<version>3</version>
<name>backend</name>
<url>http://maven.apache.org</url>
<properties>