OpenCores
URL https://opencores.org/ocsvn/diogenes/diogenes/trunk

Subversion Repositories diogenes

[/] [diogenes/] [tags/] [initial/] [diogenes/] [asm/] [.video.asm.swp] - Rev 236

Compare with Previous | Blame | View Log

Q
B


, l1   @ toggle state (16 bit Ready)  ldio  l3, [h0]     @ uart rcv    ldi   h0, 0x81     @ uart data address  brz   l4, :1  and   l4, l3, h0  ldi   h0, 2        @ uart data ready bit  ldio  l3, [l0]  ldi   l0, 0x80     @ uart status address1: @ wait for byte  stio  h2, [h1]     @ leds echo  ldi   h1, 0        @ toggle bit (hi low)  ldi   l1, 1        @ constant 1  lsi   h2, 0xff     @ h2 = 0xffff    ldi   h2, 0xff         lsi   l2, 0x40     @ start of user program  ldi   l2, 0x8080:@ l4 : temp, used for branch condition@ h2 : holds the bitmask of the invalid instruction 0xffff = special with@ h1 : toggle bit = 0 zero, when a full 16 Bit word was received@ l3 : temp, holds the value received from uart@ l2 : current address for memwrites@ l1 : constant 1@ l0 : temp

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.