X-Git-Url: http://cloudbase.mooo.com/gitweb/avrcpm.git/blobdiff_plain/9c15f36650204cc8a2ada229ecbb50b592dc6aaa..29ce189c438e15067a26aebcb12227a9c172a384:/avrcpm/avr/dram-4bit.asm diff --git a/avrcpm/avr/dram-4bit.asm b/avrcpm/avr/dram-4bit.asm index e0d088a..d885226 100644 --- a/avrcpm/avr/dram-4bit.asm +++ b/avrcpm/avr/dram-4bit.asm @@ -88,5 +88,35 @@ dram_write: ; sei ret +; ------------------------------------------------------------------- + +dram_readw_pp: + rcall dram_read + adiw x,1 + push temp + rcall dram_read + adiw x,1 + mov temp2,temp + pop temp + ret + +dram_read_pp: + rcall dram_read + adiw x,1 + ret + +; ------------------------------------------------------------------- + +dram_writew_pp: + push temp2 + rcall dram_write + adiw x,1 + pop temp +dram_write_pp: + rcall dram_write + adiw x,1 + ret + +; ------------------------------------------------------------------- ; vim:set ts=8 noet nowrap