CodeWiki : PhysLayerTech

WikiHome :: List Pages :: Login
cmantito.com

Revision [230]

Most recent edit made on 2008-10-29 06:17:00 by cmantito

Additions:
Our groupwork: B164LCode


Deletions:
Our groupwork: Unknown action "b164lcode"




Revision [229]

Edited on 2008-10-29 06:16:45 by cmantito

Additions:
Our groupwork: Unknown action "b164lcode"


Deletions:
$include (reg66x.inc)
; B164L	Group: Y53	Authors: KCL, ANG, MP
; Date: 29.10.2008	VERSION 1.0
; Summay: This is a framework for the ethernet project.
; Input: 3 buttons, "network data"
; Output: 3 LEDs, "network data"
; Assumptions: Assuming makes an Ass out of you.
MAIN:             ; Define the MAIN subroutine.
ACALL SEND	      ; Call SEND
ACALL RECEIVE     ; Call RECEIVE
ACALL KEYREAD     ; Call KEYREAD
ACALL LEDWRITE    ; Call LEDWRITE
ACALL TIMER       ; Call TIMER
ACALL MAIN		   ; Call the beginning.
SEND: RET			; Subroutine to send data.
RECEIVE: RET      ; Subroutine to receive data.
KEYREAD: RET		; Subroutine to read from keyboard.
LEDWRITE: RET		; Subroutine to write to the display.
TIMER: 				; Subroutine to do timing.
MOV R0, #92			; Set reg. R0 to 92 (borrowed from initial lab.)
TIMELOOP:			; Subroutine to assist with timing
						;	-- TIMER will run into this one after the MOV.
DJNZ R0, TIMELOOP ; (R0 = R0 - 1); if it's not 0, run again, otherwise, move on.
RET					; The timer is done, go back to MAIN.
END					; END the application.




Revision [228]

Edited on 2008-10-29 06:13:00 by cmantito

Additions:
$include (reg66x.inc)
; B164L	Group: Y53	Authors: KCL, ANG, MP
; Date: 29.10.2008	VERSION 1.0
; Summay: This is a framework for the ethernet project.
; Input: 3 buttons, "network data"
; Output: 3 LEDs, "network data"
; Assumptions: Assuming makes an Ass out of you.
MAIN:             ; Define the MAIN subroutine.
ACALL SEND	      ; Call SEND
ACALL RECEIVE     ; Call RECEIVE
ACALL KEYREAD     ; Call KEYREAD
ACALL LEDWRITE    ; Call LEDWRITE
ACALL TIMER       ; Call TIMER
ACALL MAIN		   ; Call the beginning.
SEND: RET			; Subroutine to send data.
RECEIVE: RET      ; Subroutine to receive data.
KEYREAD: RET		; Subroutine to read from keyboard.
LEDWRITE: RET		; Subroutine to write to the display.
TIMER: 				; Subroutine to do timing.
MOV R0, #92			; Set reg. R0 to 92 (borrowed from initial lab.)
TIMELOOP:			; Subroutine to assist with timing
						;	-- TIMER will run into this one after the MOV.
DJNZ R0, TIMELOOP ; (R0 = R0 - 1); if it's not 0, run again, otherwise, move on.
RET					; The timer is done, go back to MAIN.
END					; END the application.




Revision [211]

The oldest known version of this page was edited on 2008-10-23 12:57:58 by cmantito
B164L - Physical Layer Technology
[Document currently references semester 1 only]

Information:

Assessments:

Coursework:

Learning Outcomes:


Categories: CategoryUni

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki