mon-v30.asm Stmt Loc Object code Source Statement AS22 Assembler - V1.2 dd/mm/yy page 1

Size: px
Start display at page:

Download "mon-v30.asm Stmt Loc Object code Source Statement AS22 Assembler - V1.2 dd/mm/yy page 1"

Transcription

1

2 Stmt Loc Object code Source Statement AS22 Assembler - V1.2 dd/mm/yy page *********************************************************************** 0002 * * 0003 * Title: H J S 2 2 * 0004 * * 0005 * Description: * 0006 * This is the HJS22 monitor program. It only runs on the * 0007 * homebrew TTL CPU build by Henk Stegeman in * 0008 * * 0009 * This source can be assembled by a modified M6809 assembler. * 0010 * C:> as9 hjs22.as -l > hjs22.lst * 0011 * * 0012 * History: * 0013 * 14/04/ Version 1.4 Set breakpoint logic added. * 0014 * * 0015 * 15/04/ Version 1.4a Bug fixed in unable to set BP logic. * 0016 * * 0017 * 22/04/ Version 1.5 User status added & more rel addressing * 0018 * * 0019 * 22/01/ Version 1.5a More comments added. * 0020 * * 0021 * 12/12/ version 2.0 Soft UART removed & ACIA support added. * 0022 * * 0023 * 14/12/ version 3.0 Interrupt driven monitor program. * 0024 * 30/12/ version 3.0a Left/right runnig light + upd comments * 0025 * * 0026 * Notes: * 0027 * - The auto-restart SW must be set to ON for breakpoint restart. * 0028 * - Object is not relocatable and runs in interrupt level 3. * 0029 * - See also boot22.asm which loads program from EPROM to RAM at * 0030 * location $0200. * 0031 * - boot22 starts at $8000. * 0032 * - The Tx/Rx speed of the ACIA is 9600 bps. * 0033 * * 0034 *********************************************************************** * 0037 *** HJS22 equates * R0 equ 0 general registers R1 equ R2 equ R3 equ R4 equ R5 equ R6 equ R7 equ R8 equ R9 equ B A0 equ 11 address registers D A1 equ F A2 equ B esc equ $1B Escape D cr equ $0D Carriage Return A lf equ $0A Line Feed null equ $00 Null F brkpoint equ $8F Breakpoint. (HLT with restart) C con equ $0C I/O addr console tr co equ $40 transfer command C0 st co equ $C0 start I/O command tr da equ $00 transfer data st da equ $80 start I/O data reset equ $10 reset I/O 0067

3 Stmt Loc Object code Source Statement AS22 Assembler - V1.2 dd/mm/yy page * 0069 *** ISA save areas allocation * org $ save 0 equ * level acc 0 dc.b $00 accumulator stat 0 dc.b $00 status register pchl 0 dc.d $0000 program counter org $ save C equ * level C acc C dc.b $00 accumulator C stat C dc.b $0C status register pchl c dc.d intlvl C program counter 0082

4 Stmt Loc Object code Source Statement AS22 Assembler - V1.2 dd/mm/yy page org $1200 start address 0085 * 0086 *** HJS22 Monitor program starts here * monitor equ * EE 0C jmp *,eyecatch jump over E1 dc.d txmit dc.d recv F F dc.c '30/12/11' eye-catcher E eyecatch equ * 0095 * Clean monitor start / restart if Acc=$ E E0 05 jiz *,monstart start monitor (POR)? 0097 * Breakpoint detected if Acc=$ cmp #$01 re-entry caused by breakpoint? C jie brkdet jump if yes * Monitor start / restart monstart equ * 0103 * Initialize ACIA D 3C out #reset,#con reset console irq lda #$03 master reset ACIA D 6C out #tr co,#con * B 8D EC out #st co,#con * D lda #$31 8 bits, 2 stop, 9600 bps F 8D 6C out #tr co,#con * D EC out #st co,#con * AA sti enable interrupts A lda #lf this will start the D 6C out #tr co,#con monitor in level C D EC out #st co,#con * * Do nothing 'usefull' in level A A8 sts B A1 cla C A5 wt rrs rrs move light to the right D A0 wt dly1 nop E A0 nop F A0 nop A0 nop A0 nop A0 nop F7 djnz %R8,wt dly1 delay loop C9 12 2C jns wt rrs keep going to the right A3 wt rls rls move light to the left A A0 wt dly2 nop B A0 nop C A0 nop D A0 nop E A0 nop F A0 nop F7 djnz %R8,wt dly2 delay loop C jns wt rls keep going to the left CE 12 2C jmp wt rrs keep looping in level * 0146 *** This code will run in interrupt level C * intlvl C equ *

5 Stmt Loc Object code Source Statement AS22 Assembler - V1.2 dd/mm/yy page * inp #tr da,#con this will reset the irq in 0151 * inp #tr da,#con the acia after start char * Issue welcome/version message CC 16 2F jts crlf start with a new line C CC 16 2F jts crlf * F 8B 0B 16 E5 lrd %A0,#msg01 Welcome msg CC jts txmsg xmit it 0158 * Any breakpoint left active in user program? E2 removbrk lda saveopc restore any pre-restart F cmp #brkpoint user program opcode? B E2 12 jie *,norest no D E4 sta [savebpa+1] restore it F lda #brkpoint * E2 sta saveopc * CC 16 2F jts crlf xmit crlf B 0B lrd %A0,#msg27 Breakpoint removed C CC jts txmsg xmit it F 27 8F norest lda #brkpoint reset opcode save area E2 sta saveopc * CC 16 2F nextcmd1 jts crlf xmit crlf nextcmd equ * A1 cla clear address F sta %A2 build area A 08 0E sta %A2-1 * C 27 3E lda #'>' xmit prompt E CC 15 E1 jts txmit * CC jts recv read monitor command CC 15 E1 jts txmit echo it D cmp #cr simple cr? C jie nextcmd C 24 3F cmp #'?' E C2 14 7A jie help help info DF and #$DF make it upper case C cmp #'L' C2 12 D3 jie load load S19 file cmp #'R' A C2 13 5C jie run run user pgm D cmp #'G' F C jie go continue user pgm A cmp #'D' A4 C2 13 A6 jie display display storage A7 24 4D cmp #'M' A9 C jie modify modify storage AC cmp #'C' AE C jie clear clear storage B cmp #'B' B3 C2 14 C8 jie break set breakpoint B cmp #'S' B8 C jie ustatus display user status BB cmp #'P' BD C2 15 CF jie setupc set user program pc C cmp #'X' C2 C jie removbrk remove breakpoint * Invalid command C5 CC 16 2F jts crlf xmit invalid cmd msg C8 8B 0B 17 0A lrd %A0,#msg02 * CC CC jts txmsg * CF EE A6 jmp *,nextcmd lets try it again * 0215 *** Load a S19 file into storage *

6 Stmt Loc Object code Source Statement AS22 Assembler - V1.2 dd/mm/yy page D dc.d 0000 return address D3 load equ * D3 CC 16 2F jts crlf xmit invalid cmd msg D6 8B 0B 17 1B lrd %A0,#msg03 xmit start loading DA CC jts txmsg * * Load user program DD CC load01 jts recv get first char of record E cmp #'S' found? E2 E3 F9 jne *,load01 branch if not E4 CC jts recv get S record type E cmp #'1' 16 bits addr data record? E9 E2 06 jie *,loaddata branch if yes EB cmp #'9' end record? ED E2 57 jie *,loadend branch if yes EF EE EC jmp *,load01 try again * Read 16 bits load address F1 CC 16 5D loaddata jts hexinp get total byte count F sta %R3 set checksum F sub #$03 cal number of data bytes F sta %R2 save it FA CC 16 5D load04 jts hexinp get byte load address FD 08 0E sta %A2-1 save higher address byte FF adm %R3 add to checksum CC 16 5D jts hexinp get lowest byte load address F sta %A2 save lower address byte adm %R3 add to checksum * Start loading data CC 16 5D load05 jts hexinp get data B 18 0F sta [%A2] store data D 14 0F cmp [%A2] store successfull? F E3 10 jne *,load06 if not: load error adm %R3 add to checksum C 0F ind %A2 incr store pointer F0 djnz %R2,load * Checksum oke? Issue message if not CC 16 5D jts hexinp get check sum byte B add %R3 add cal check sum D add #$01 checksum oke? F E0 BC jiz *,load01 if yes: get next record * Issue load failure message B 0B 17 4F load06 lrd %A0,#msg05 Load program failed at xxxx CC jts txmsg tx it E lda %A2-1 get high byte failing addr A CC jts hex2out tx it D 07 0F lda %A2 get low byte failing addr F CC jts hex2out tx it CC 16 2F jts crlf B 0B 17 6A lrd %A0,#msg06 Flushing data input until CNTL/Q CC jts txmsg tx it C CC load07 jts recv read input F cmp #$11 CNTL/Q? E3 F9 jne *,load07 loop if not CE jmp nextcmd try it again * Load successfully ended, issue message CC loadend jts recv read input D cmp #cr till end B E3 F9 jne *,loadend end of S9 record D 27 0D lda #cr cr F CC 15 E1 jts txmit xmit it B 0B lrd %A0,#msg04 Program successfully loaded.

7 Stmt Loc Object code Source Statement AS22 Assembler - V1.2 dd/mm/yy page CC jts txmsg tx it CE jmp nextcmd play it again, Sam * 0288 *** Run user program * C run equ * C CC 16 B3 jts hexaddr get address F CC 16 2F jts crlf xmit start user msg B 0B 17 8B lrd %A0,#msg10 * CC jts txmsg * CC 16 2F jts crlf C A1 cla D E0 sta intlvl0 switch to user A7 rtc * E0 swp intlvl0 interrupt level DC 00 3F jts [$003F] Go for it! * End user program has ended endupgm equ * sta $0100 save user pgm acc/rc A 27 0C lda #$0C save user status and C sta $0101 switch to interrupt level C F A7 rtc * swp $0101 * CC 16 2F jts crlf new line B 0B 17 A4 lrd %A0,#msg11 User program ended A CC jts txmsg * D endu01 lda $0100 get user pgm rc CC jts hex2out xmit it CC 16 2F jts crlf * CE jmp nextcmd and now something completely * 0320 *** Continue user program after breakpoint * go equ * CC 16 2F jts crlf new clean line C A7 rtc restore user status reg D swp $0101 * A lda $0100 restore user Acc A3 DE jmp [$0103] continue user pgm * 0330 *** Display memory contents * A6 display equ * A6 CC 16 B3 jts hexaddr get address A9 07 0F lda %A2 make AB 25 F0 and #$F0 it AD 08 0F sta %A2 xxx AF CC 16 2F jts crlf B2 8B 0B lrd %A0,#msg30 header E F B6 CC jts txmsg * 0340 * %A2 contains entered hex address B9 8A ldr %R3,#8 set outer loop counter BC 07 0E disp01 lda %A2-1 xmit memory BE 08 0C sta %A1-1 save it for ASCII print C0 CC jts hex2out address C3 07 0F lda %A2 * C5 08 0D sta %A1 * C7 CC jts hex2out * CA 27 2D lda #'-' xxxx CC CC jts space CF CC 15 E1 jts txmit

8 Stmt Loc Object code Source Statement AS22 Assembler - V1.2 dd/mm/yy page * Print memory contents in hex D2 8A ldr %R2,#16 set inner loop counter D5 CC disp02 jts space D8 17 0F lda [%A2] get memory contents DA 0C 0F ind %A2 incr memory pointer DC CC jts hex2out xmit it DF F3 djnz %R2,disp * Print memory contents in ASCII E2 8A ldr %R2,#16 set inner loop counter E5 CC jts space seperate hex/ascii fields E8 CC jts space * EB 27 2A lda #'*' * ED CC 15 E1 jts txmit F0 17 0D disp03 lda [%A1] get memory contents F cmp #$20 printable? F4 E5 06 jil *,disp04 * F6 24 7A cmp #$7A * F8 E4 02 jig *,disp04 * FA EE 02 jmp *,disp05 YES FC 27 2E disp04 lda #'.' NO! FE CC 15 E1 disp05 jts txmit xmit it C 0D ind %A1 incr memory pointer EA djnz %R2,disp A lda #'*' close it off CC 15 E1 jts txmit B CC 16 2F jts crlf xmit start user msg E AB djnz %R3,disp01 another line? CE jmp nextcmd what's next? * 0383 *** Modify memory contents * modify equ * CC 16 B3 jts hexaddr get address 0387 * %A2 contains entered hex address CC 16 2F mod01 jts crlf A 07 0E lda %A2-1 xmit memory C CC jts hex2out address F 07 0F lda %A2 * CC jts hex2out * CC jts space xmit space F lda [%A2] get memory contents CC jts hex2out xmit it C CC jts space xmit space F CC mod02 jts recv get input D cmp #cr CR? E2 33 jie *,mod07 next location B mod03 cmp #esc Escape? C jie nextcmd1 that's all for today B cmp #'q' quit? D C jie nextcmd1 that's all for today CC 15 E1 jts txmit echo input A cmp #$3A 0-9 or A-F? E5 02 jil *,mod04 jump if add #$09 correction F mod04 and #$0F remove high order bits B sta *,mod06+1 save it D mod05 lda %R2 get modify value F A2 ral move them to high order A2 ral A2 ral A2 ral mod06 add #$00 merge it with input.

9 Stmt Loc Object code Source Statement AS22 Assembler - V1.2 dd/mm/yy page sta %R2 save it again CC jts recv get input A 24 0D cmp #cr C E3 D8 jne *,mod03 next location E CC 15 E1 jts txmit echo it * Store modified value lda %R2 get modify value and F sta [%A2] store it F cmp [%A2] verify store E3 04 jne *,mod08 not ok? C 0F mod07 ind %A2 bump address pointer B EE AA jmp *,mod01 loop 0430 * Modify not possible D CC 16 2F mod08 jts crlf crlf B 0B 17 C1 lrd %A0,#msg15 Verify after modify failed CC jts txmsg tx it CE jmp nextcmd play it again Sam * 0437 *** Transmit help information * A help equ * A CC 16 2F jts crlf new line D 8B 0B 16 EB lrd %A0,#msg01+6 Version CC jts txmsg * CC 16 2F jts crlf new line B 0B 17 F2 lrd %A0,#msg20 Valid commands B CC jts txmsg * E CE jmp nextcmd play it again Sam * 0449 *** Clear memory * clear equ * CC 16 2F jts crlf new line B 0B 17 DC lrd %A0,#msg17 Are you sure? CC jts txmsg * B CC jts recv get input E CC 15 E1 jts txmit echo input A1 25 DF and #$DF make upper case A cmp #'Y' confirmed? A5 C jne nextcmd1 No * Clear user registers A8 8A ldr %R1,#16 16 registers AB A1 cla AC clr00 sta $0000 intlvl0 registers AF 4B 14 AE inc clr00+2 bump pointer B F7 djnz %R1,clr00 loop * Clear user status register B sta $0101 clear ustatus * Clear memory B C5 clr01 sta [clrpntr+1] clear it BB 3C 08 ind *,clrpntr+1 bump pointer BD 3E 08 dcd *,clrcnt BF E7 F7 jnc *,clr C1 CE jmp $8000 restart monitor C4 14 C8 clrpntr dc.d *+4 start location C clrcnt dc.d $8000 number of bytes * 0479 *** Set breakpoint * C8 break equ * C8 CC 16 B3 jts hexaddr get breakpoint address 0483 * Check if a breakpoint is allready set CB E2 lda saveopc allready set?

10 Stmt Loc Object code Source Statement AS22 Assembler - V1.2 dd/mm/yy page CE 24 8F cmp #brkpoint * D0 E2 19 jie *,bpfree * 0487 * Issue error message, BP allready set D2 CC 16 2F jts crlf new line D5 8B 0B 19 2C lrd %A0,#msg26 BP allready set at xxxx D9 CC jts txmsg tx it DC E3 lda savebpa get high byte bp addr DF CC jts hex2out tx it E E4 lda savebpa+1 get low byte bp addr E5 CC jts hex2out tx it E8 CE jmp nextcmd1 play it again Sam EB 17 0F bpfree lda [%A2] get current opcode ED E2 sta saveopc save it F0 27 8F lda #brkpoint set breakpoint F2 18 0F sta [%A2] * F4 14 0F cmp [%A2] verify ok? F6 E3 0D jne *,notoke no * Breakpoint set, save breakpoint address F8 07 0F lda %A2 get breakpoint FA E4 sta savebpa+1 address FD 07 0E lda %A2-1 and FF E3 sta savebpa save it CE jmp nextcmd * Issue error message E2 notoke sta saveopc set bp free again CC 16 2F jts crlf crlf B 8B 0B lrd %A0,#msg25 Unable to set breakpoint F CC jts txmsg tx it CE jmp nextcmd play it again Sam brkdet equ * 0517 * Switch to monitor interrupt level (C) C lda #$0C switch to E1 sta intlvlc interrupt level C A A7 rtc * B E1 swp intlvlc * 0522 * Saved PC points 2 byte beyond breakpoint. Subtract 2 correction E A6 stc set carry F lda $0103 get low byte sbc #$02 minus two sta $0103 save it E6 03 jic *,brk01 borrow? D dcr $0102 yes, high byte minus one * Restore original opcode in user pgm C E2 brk01 lda saveopc restore orignal opcode F 24 8F cmp #brkpoint is this correct? C jie nextcmd1 jump if not sta [$0103] restore user pgm opcode F lda #brkpoint set breakpoint cleared E2 sta saveopc * C CC 16 2F jts crlf new line F 8B 0B 19 5E lrd %A0,#msg29 Breakpoint entered CC jts txmsg * ustatus equ * CC 16 2F jts crlf new line B 0B lrd %A0,#msg30 Regs = D CC jts txmsg * B 0B 19 A8 lrd %A0,#msg30a Regs = CC jts txmsg * lda $0101 get user int level A A2 ral move B A2 ral intlvl C A2 ral to D A2 ral high order.

11 Stmt Loc Object code Source Statement AS22 Assembler - V1.2 dd/mm/yy page E sta *,brk05+3 set register range addr B 0F brk05 lrd %A2,#$0000 set to intlvl 0 regs A ldr %R2,#16 set loop counter F brk06 lda [%A2] get register contents C 0F ind %A2 incr register pointer B CC jts hex2out xmit it E CC jts space F3 djnz %R2,brk06 end of hex part of line? CC 16 2F jts crlf new line B 0B 19 B1 lrd %A0,#msg30b PC = B CC jts txmsg * E lda $0102 PC high CC jts hex2out xmit it lda $0103 PC low CC jts hex2out xmit it A CC jts txmsg ACC = D lda $ CC jts hex2out xmit it CC jts txmsg Status = lda $ A ldr %R2,#4 set loop counter C A2 brk02 ral get bit D sta *,brk04+1 save it for later F lda #'0' '0' A1 E9 01 jns *,brk03 or A3 AC ina '1' A4 CC 15 E1 brk03 jts txmit out? A brk04 lda #$00 restore status A F0 djnz %R2,brk02 loop AC CC jts txmsg Intlvl = AF lda $ B2 CC 16 9E jts hexlout xmit it B5 CC jts txmsg BP = B E2 lda saveopc breakpoint set? BB 24 8F cmp #brkpoint * BD C jie nextcmd1 jump if not * BP is set, print it C E3 lda savebpa get high byte bp addr C3 CC jts hex2out tx it C E4 lda savebpa+1 get low byte bp addr C9 CC jts hex2out tx it CC CE jmp nextcmd1 next * 0602 *** Set user program PC * CF setupc equ * CF CC 16 B3 jts hexaddr get user pgm PC address D2 07 0F lda %A2 * low D sta $0103 * D7 07 0E lda %A2-1 * high D sta $0102 * DC CE jmp nextcmd1 next

12 Stmt Loc Object code Source Statement AS22 Assembler - V1.2 dd/mm/yy page * 0614 *** Transmit one byte (in accumulator) subroutine * DF dc.d 0000 return address E1 txmit equ * E FB sta txsave+1 save it E4 8D 4C inp #tr co,#con get ACIA status reg E6 8D 4C inp #tr co,#con E and #$04 tx buffer empty? EA C1 15 FA jnz xmt tx jump if yes * Wait till tx buffer is empty ED lda #$31 enable tx irq ACIA EF 8D 6C out #tr co,#con F1 8D EC out #st co,#con F3 AF rfi leave current int lvl * Interrupt received from ACIA F lda #$11 disable tx irq ACIA F6 8D 6C out #tr co,#con F8 8D EC out #st co,#con FA xmt tx equ * FA txsave lda #$00 restore tx char FC 8D 2C out #tr da,#con xmit acc character FE 8D AC out #st da,#con * ED DF jfs *,txmit return to caller * 0643 *** Receive one byte (in accumulator) subroutine * dc.d 0000 return address recv equ * wait for input D 4C inp #tr co,#con get ACIA status reg D 4C inp #tr co,#con and #$02 rx buffer full? A C1 16 1A jnz get rx jump if yes 0651 * Nothing (yet) received D lda #$91 enable rx irq ACIA F 8D 6C out #tr co,#con D EC out #st co,#con AF rfi leave current int lvl * Interrupt received from ACIA lda #$11 disable rx irq ACIA D 6C out #tr co,#con D EC out #st co,#con A get rx equ * A 8D 0C inp #tr da,#con transfer rx character C 8D 0C inp #tr da,#con to accumulator E ED E4 jfs *,recv return to caller * 0669 *** Transmit a space character * dc.d 0000 return address space equ * sta *,save01+1 save acc lda #' ' space CC 15 E1 jts txmit send it save01 lda #$00 restore acc B ED F5 jfs *,space

13 Stmt Loc Object code Source Statement AS22 Assembler - V1.2 dd/mm/yy page * 0681 *** Transmit a CR and a LF * D dc.d 0000 return address F crlf equ * F 38 0B sta *,save02+1 save acc D lda #cr cr CC 15 E1 jts txmit send it A lda #lf lf CC 15 E1 jts txmit send it B save02 lda #$00 Restore acc D ED F0 jfs *,crlf * 0695 *** Transmit a message (till 0x00) pointed by %A * F dc.d 0000 return address txmsg equ * sta *,save03+1 save acc EE 05 jmp *,cont CC 15 E1 loop06 jts txmit transmit it C 0B ind %A0 increment pointer A 17 0B cont06 lda [%A0] get character C cmp #'#' no crlf? E E2 05 jie *,cont E1 F3 jnz *,loop06 end of message? CC 16 2F jts crlf add cr/lf C 0B cont07 ind %A0 bump over # (if applicable) save03 lda #$00 restore acc ED E6 jfs *,txmsg * 0715 *** Receive two hex characters in accumulator * B dc.d 0000 return address D hexinp equ * D CC jts recv read input (high order) D cmp #cr cr? E2 20 jie *,hex03 jump if yes cmp #'q' quit? C jie nextcmd1 jump if yes. (it's dirty :-) A cmp #$3A 0-9 or A-F? B E5 02 jil *,hex01 jump if D add #$09 correction F 25 0F hex01 and #$0F remove high order bits A2 ral move them to high order A2 ral A2 ral A2 ral C sta *,save04+1 save it CC jts recv read input (low order) A 24 3A cmp #$3A 0-9 or A-F? C E5 02 jil *,hex02 jump if E add #$09 correction F hex02 and #$0F remove high order bits save04 add #$00 make it complete ED D7 hex03 jfs *,hexinp return to caller * 0743 *** Transmit accumulator (high, low, both) in hex-dec * dc.d 0000 return address hex2out equ *

14 Stmt Loc Object code Source Statement AS22 Assembler - V1.2 dd/mm/yy page EC 06 jts *,hexhout transmit high part acc A EC 12 jts *,hex1out transmit low part acc C ED FA jfs *,hex2out E dc.d 0000 return address hexhout equ * sta *,save13+1 save acc A4 rar shift 4 bits high -> low A4 rar A4 rar A4 rar EC 06 jts *,hex1out transmit it as hex save13 lda #$00 restore acc A ED F4 jfs *,hexhout C dc.d 0000 return address E hex1out equ * E hexlout equ * E 38 0E sta *,save14+1 save acc A0 25 0F and #$0F remove any junk bits A add #$ A4 24 3A cmp #$3A 0-9 or A-F? A6 E5 02 jil *,cont A add #$07 make it A-F AA CC 15 E1 cont15 jts txmit xmit it AD save14 lda #$00 restore acc AF ED ED jfs *,hex1out * 0777 *** Read hex-decimal address * B dc.d 0000 return address B3 hexaddr equ * B3 CC jts recv read input B6 24 0D cmp #$0D cr? B8 E2 24 jie *,hex10 jump if yes BA CC 15 E1 jts txmit BD 24 3A cmp #$3A 0-9 or A-F? BF E5 02 jil *,hex11 jump if C add #$09 correction C3 25 0F hex11 and #$0F remove high order bits C sta *,save12+1 save it * Shift address 4 bits to the left C7 8A ldr %R2,#4 set loop counter CA A9 loop10 rts reset shift bit CB 07 0F lda %A2 get lower byte CD A3 rls move higher bit CE 08 0F sta %A2 in D0 07 0E lda %A2-1 lower order D2 A3 rls of D3 08 0E sta %A2-1 higher order byte D F2 djnz %R2,loop10 loop D save12 lda #00 reload input char DA 09 0F adm %A2 insert it in address DC EE D5 jmp *,hexaddr DE ED D3 hex10 jfs *,hexaddr return to caller. 0806

15 Stmt Loc Object code Source Statement AS22 Assembler - V1.2 dd/mm/yy page E0 intlvl0 ds 1 used to switch to intlvl E1 intlvlc ds 1 used to switch to intlvl C E2 8F saveopc dc.b brkpoint save opc area E3 savebpa ds 2 save breakpoint addr E5 48 4A msg01 dc.c 'HJS22 Monitor Version 3.0a running.#' 4D 6F 6E F F 6E E E 6E 69 6E 67 2E dc.b null A 49 6E C 69 msg02 dc.c 'Invalid command.' F 6D 6D 61 6E 64 2E A 00 dc.b null B msg03 dc.c 'Start loading S19 file...' 6C 6F E C 65 2E 2E 2E dc.b null C msg04 dc.c 'File successfully loaded.' C 6C C 6F E E 00 dc.b null F 4C 6F msg05 dc.c 'Load error near address #.' F E E dc.b null A 46 6C msg06 dc.c 'Flushing input data till CNTL/Q.' 6E E C 6C E 54 4C 2F 51 2E A 00 dc.b null B msg10 dc.c 'Starting user program...' 6E F D 2E 2E 2E A3 00 dc.b null A msg11 dc.c 'User program ended with RC=#' 72 6F D E D C0 00 dc.b null C1 55 6E C 65 msg15 dc.c 'Unable to modify storage!' F 20 6D 6F F DB 00 dc.b null DC 43 6C msg17 dc.c 'Clear memory [y,n]? #' 6D 65 6D 6F B 79 2C 4E 5D 3F F1 00 dc.b null F C msg20 dc.c 'Valid commands:' 63 6F 6D 6D 61 6E A

16 Stmt Loc Object code Source Statement AS22 Assembler - V1.2 dd/mm/yy page D 0A dc.b cr,lf dc.c ' D xxxx - Display memory.' D C D 65 6D 6F E D 0D 0A dc.b cr,lf F D dc.c ' M xxxx - Modify memory.' D 20 4D 6F D 65 6D 6F E D 0A dc.b cr,lf A dc.c ' B xxxx - Set breakpoint.' D B 70 6F 69 6E 74 2E D 0A dc.b cr,lf dc.c ' P xxxx - Set user pgm PC.' D D E D 0A dc.b cr,lf dc.c ' R xxxx - Run user program.' D E F D 2E F 0D 0A dc.b cr,lf D 20 dc.c ' G - Continue user program.' 43 6F 6E E F D 2E AD 0D 0A dc.b cr,lf AF C 20 2D 20 dc.c ' L - Load user program.' 4C 6F F D 2E C7 0D 0A dc.b cr,lf C D 20 dc.c ' S - User program status.' F D E E3 0D 0A dc.b cr,lf E D 20 dc.c ' X - Clear breakpoint.' 43 6C B 70 6F 69 6E 74 2E FC 0D 0A dc.b cr,lf FE D 20 dc.c ' C - Clear memory.' 43 6C D 65 6D 6F E dc.b null E C 65 msg25 dc.c 'Unable to set breakpoint.' F B 70 6F 69 6E 74 2E B 00 dc.b null C B 70 msg26 dc.c 'Breakpoint allready set at #' 6F 69 6E C 6C

17 Stmt Loc Object code Source Statement AS22 Assembler - V1.2 dd/mm/yy page dc.b null B 70 msg27 dc.c 'Breakpoint cleared.#' 6F 69 6E C E D 00 dc.b null E B 70 msg29 dc.c 'Breakpoint entered.' 6F 69 6E E E dc.b null msg30 dc.c ' ' F dc.c ' 8 9 A B C D E F' A7 00 dc.b null A D msg30a dc.c 'Regs - #' B0 00 dc.b null B D msg30b dc.c 'PC-# Acc-# Status-# Intlvl-# BP-#' D D E 74 6C 76 6C 2D D D6 00 dc.b null end

18 Cross reference Symbol Value Defn References AS22 Assembler - V1.2 dd/mm/yy page 17 A0 000B * A1 000D * A2 000F * R *0039 R * R * R * R *0043 R *0044 R *0045 R *0046 R * R *0048 acc *0073 acc C 0130 *0079 bpfree 14EB * break 14C8 * brk01 152C * brk02 159C * brk03 15A4 * brk04 15A7 * brk * brk * brkdet 1515 * brkpoint 008F * clear 1491 * clr00 14AC * clr01 14B8 * clrcnt 14C6 * clrpntr 14C4 * con 000C * cont06 164A * cont * cont15 16AA * cr 000D * crlf 162F * disp01 13BC * disp02 13D5 * disp03 13F0 * disp04 13FC * disp05 13FE * display 13A6 * endu01 138D *0314 endupgm 1377 *0304 esc 001B * eyecatch 120E * get rx 161A * go 1399 * help 147A * hex01 166F * hex * hex * hex10 16DE * hex11 16C3 * hex1out 169E * hex2out 1688 *

19 Cross reference Symbol Value Defn References AS22 Assembler - V1.2 dd/mm/yy page hexhout 1690 * hexlout 169E * hexaddr 16B3 * hexinp 165D * intlvl0 16E0 * intlvlc 16E1 * intlvl C 1249 * lf 000A * load 12D3 * load01 12DD * load04 12FA *0240 load * load * load07 133C * loaddata 12F1 * loadend 1346 * loop * loop10 16CA * mod * mod02 142F *0398 mod * mod * mod05 144D *0412 mod * mod * mod08 146D * modify 1414 * monitor 1200 *0088 monstart 1215 * msg01 16E5 * msg02 170A * msg03 171B * msg * msg05 174F * msg06 176A * msg10 178B * msg11 17A4 * msg15 17C1 * msg17 17DC * msg20 17F2 * msg * msg26 192C * msg * msg29 195E * msg * msg30a 19A8 * msg30b 19B1 * nextcmd 1277 * nextcmd * norest 126F * notoke 1505 * null 0000 * pchl *0075 pchl c 0132 *0081 recv 1604 * removbrk 1256 * reset 0010 * run 135C * save * save02 163B * save * save *

20 Cross reference Symbol Value Defn References AS22 Assembler - V1.2 dd/mm/yy page 19 save12 16D8 * save * save14 16AD * save *0072 save C 0130 *0078 savebpa 16E3 * saveopc 16E2 * setupc 15CF * space 1622 * st co 00C0 * st da 0080 * stat *0074 stat C 0131 *0080 tr co 0040 * tr da 0000 * txmit 15E1 * txmsg 1641 * txsave 15FA * ustatus 1546 * wt dly1 122D * wt dly2 123A * wt rls 1239 * wt rrs 122C * xmt tx 15FA *

CIS-331 Exam 2 Fall 2015 Total of 105 Points Version 1

CIS-331 Exam 2 Fall 2015 Total of 105 Points Version 1 Version 1 1. (20 Points) Given the class A network address 117.0.0.0 will be divided into multiple subnets. a. (5 Points) How many bits will be necessary to address 4,000 subnets? b. (5 Points) What is

More information

CIS-331 Fall 2013 Exam 1 Name: Total of 120 Points Version 1

CIS-331 Fall 2013 Exam 1 Name: Total of 120 Points Version 1 Version 1 1. (24 Points) Show the routing tables for routers A, B, C, and D. Make sure you account for traffic to the Internet. NOTE: Router E should only be used for Internet traffic. Router A Router

More information

CIS-331 Fall 2014 Exam 1 Name: Total of 109 Points Version 1

CIS-331 Fall 2014 Exam 1 Name: Total of 109 Points Version 1 Version 1 1. (24 Points) Show the routing tables for routers A, B, C, and D. Make sure you account for traffic to the Internet. Router A Router B Router C Router D Network Next Hop Next Hop Next Hop Next

More information

CIS-331 Spring 2016 Exam 1 Name: Total of 109 Points Version 1

CIS-331 Spring 2016 Exam 1 Name: Total of 109 Points Version 1 Version 1 Instructions Write your name on the exam paper. Write your name and version number on the top of the yellow paper. Answer Question 1 on the exam paper. Answer Questions 2-4 on the yellow paper.

More information

CIS-331 Exam 2 Fall 2014 Total of 105 Points. Version 1

CIS-331 Exam 2 Fall 2014 Total of 105 Points. Version 1 Version 1 1. (20 Points) Given the class A network address 119.0.0.0 will be divided into a maximum of 15,900 subnets. a. (5 Points) How many bits will be necessary to address the 15,900 subnets? b. (5

More information

CIS-331 Exam 2 Spring 2016 Total of 110 Points Version 1

CIS-331 Exam 2 Spring 2016 Total of 110 Points Version 1 Version 1 1. (20 Points) Given the class A network address 121.0.0.0 will be divided into multiple subnets. a. (5 Points) How many bits will be necessary to address 8,100 subnets? b. (5 Points) What is

More information

4. Specifications and Additional Information

4. Specifications and Additional Information 4. Specifications and Additional Information AGX52004-1.0 8B/10B Code This section provides information about the data and control codes for Arria GX devices. Code Notation The 8B/10B data and control

More information

CIS-331 Final Exam Spring 2015 Total of 115 Points. Version 1

CIS-331 Final Exam Spring 2015 Total of 115 Points. Version 1 Version 1 1. (25 Points) Given that a frame is formatted as follows: And given that a datagram is formatted as follows: And given that a TCP segment is formatted as follows: Assuming no options are present

More information

CIS-331 Final Exam Spring 2018 Total of 120 Points. Version 1

CIS-331 Final Exam Spring 2018 Total of 120 Points. Version 1 Version 1 Instructions 1. Write your name and version number on the top of the yellow paper and the routing tables sheet. 2. Answer Question 2 on the routing tables sheet. 3. Answer Questions 1, 3, 4,

More information

C1098 JPEG Module User Manual

C1098 JPEG Module User Manual C1098 JPEG Module User Manual General Description C1098 is VGA camera module performs as a JPEG compressed still camera that can be attached to a wireless or PDA host. Users can send out a snapshot command

More information

Programming Book for 6809 Microprocessor Kit

Programming Book for 6809 Microprocessor Kit Programming Book for 6809 Microprocessor Kit Wichit Sirichote, wichit.sirichote@gmail.com Image By Konstantin Lanzet - CPU collection Konstantin Lanzet, CC BY-SA 3.0, Rev1.2 March 2018 1 Contents Lab 1

More information

CMSC 313 Lecture 03 Multiple-byte data big-endian vs little-endian sign extension Multiplication and division Floating point formats Character Codes

CMSC 313 Lecture 03 Multiple-byte data big-endian vs little-endian sign extension Multiplication and division Floating point formats Character Codes Multiple-byte data CMSC 313 Lecture 03 big-endian vs little-endian sign extension Multiplication and division Floating point formats Character Codes UMBC, CMSC313, Richard Chang 4-5 Chapter

More information

Gateway Ascii Command Protocol

Gateway Ascii Command Protocol Gateway Ascii Command Protocol Table Of Contents Introduction....2 Ascii Commands.....3 Messages Received From The Gateway....3 Button Down Message.....3 Button Up Message....3 Button Maintain Message....4

More information

ZN-DN312XE-M Quick User Guide

ZN-DN312XE-M Quick User Guide ZN-DN312XE-M Quick User Guide This manual provides instructions for quick installation and basic configuration of your IP device. Step1. Connect cables to IP device Connect required cables to the device

More information

ECHO Process Instrumentation, Inc. Modbus RS485 Module. Operating Instructions. Version 1.0 June 2010

ECHO Process Instrumentation, Inc. Modbus RS485 Module. Operating Instructions. Version 1.0 June 2010 ECHO Process Instrumentation, Inc. Modbus RS485 Module Operating Instructions Version 1.0 June 2010 ECHO Process Instrumentation, Inc. PO Box 800 Shalimar, FL 32579 PH: 850-609-1300 FX: 850-651-4777 EM:

More information

; Once Initialized, monitor character in calls to CN05 ; set carry for input, to be tested CN35 C SEC

; Once Initialized, monitor character in calls to CN05 ; set carry for input, to be tested CN35 C SEC // // Serialcode.s // 256 Byte Prom P8 and 512 Byte PROM P9A (second version) for Apple II Serial Card // P9A differs from P9 by adding RTS/ACK software flow control to output and // by removing batch

More information

6.1 Combinational Circuits. George Boole ( ) Claude Shannon ( )

6.1 Combinational Circuits. George Boole ( ) Claude Shannon ( ) 6. Combinational Circuits George Boole (85 864) Claude Shannon (96 2) Signals and Wires Digital signals Binary (or logical ) values: or, on or off, high or low voltage Wires. Propagate digital signals

More information

CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 02, FALL 2012

CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 02, FALL 2012 CMSC 33 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 2, FALL 22 TOPICS TODAY Bits of Memory Data formats for negative numbers Modulo arithmetic & two s complement Floating point formats

More information

COSC 243. Instruction Sets And Addressing Modes. Lecture 7&8 Instruction Sets and Addressing Modes. COSC 243 (Computer Architecture)

COSC 243. Instruction Sets And Addressing Modes. Lecture 7&8 Instruction Sets and Addressing Modes. COSC 243 (Computer Architecture) COSC 243 Instruction Sets And Addressing Modes 1 Overview This Lecture Source Chapters 12 & 13 (10 th editition) Textbook uses x86 and ARM (we use 6502) Next 2 Lectures Assembly language programming 2

More information

MC68705P3 Bootstrap ROM

MC68705P3 Bootstrap ROM MC68705P3 Bootstrap ROM ;This is a listing of the Bootstrap ROM which resides in Motorola's MC68705P3 single chip ;micros. Its sole purpose is to program its own EPROM by copying the data from an external

More information

RS 232 PINOUTS. 1. We use RJ12 for all of our RS232 interfaces (Link-2-Modbus & Link-2-PC- Serial/RS232). The diagram below shows our pin out.

RS 232 PINOUTS. 1. We use RJ12 for all of our RS232 interfaces (Link-2-Modbus & Link-2-PC- Serial/RS232). The diagram below shows our pin out. RS 232 PINOUTS 1. We use RJ12 for all of our RS232 interfaces (Link-2-Modbus & Link-2-PC- Serial/RS232). The diagram below shows our pin out. 2. A DB9 Female to RJ12 Female Serial/Terminal Modular Adaptor

More information

SN8F5000 Family Instruction Set

SN8F5000 Family Instruction Set SONiX Technology Co., Ltd. 8051-based Microcontroller 1 Overview SN8F5000 is 8051 Flash Type microcontroller supports comprehensive assembly instructions and which are fully compatible with standard 8051.

More information

APPLESHARE PC UPDATE INTERNATIONAL SUPPORT IN APPLESHARE PC

APPLESHARE PC UPDATE INTERNATIONAL SUPPORT IN APPLESHARE PC APPLESHARE PC UPDATE INTERNATIONAL SUPPORT IN APPLESHARE PC This update to the AppleShare PC User's Guide discusses AppleShare PC support for the use of international character sets, paper sizes, and date

More information

The cache is 4-way set associative, with 4-byte blocks, and 16 total lines

The cache is 4-way set associative, with 4-byte blocks, and 16 total lines Sample Problem 1 Assume the following memory setup: Virtual addresses are 20 bits wide Physical addresses are 15 bits wide The page size if 1KB (2 10 bytes) The TLB is 2-way set associative, with 8 total

More information

First Data EMV Test Card Set. Version 1.30

First Data EMV Test Card Set. Version 1.30 First Data EMV Test Card Set.30 January, 2018 Disclaimer Information provided in this document describes capabilities available at the time of developing this document and information available from industry

More information

NAM M6800 DISK-BUG DS VER 3.5 OPT PAG

NAM M6800 DISK-BUG DS VER 3.5 OPT PAG NAM M6800 DISK-BUG DS VER 3.5 OPT PAG Floppy Disk Controller Debug Monitor Written 27 Aug 1980 Michael Holley Record of modifications 18 OCT 1981 Disk routines DC-1 23 JAN 1982 Command Table 8 MAY 1982

More information

First Data EMV Test Card Set. Version 2.00

First Data EMV Test Card Set. Version 2.00 First Data EMV Test Card Set.00 February, 2018 Disclaimer Information provided in this document describes capabilities available at the time of developing this document and information available from industry

More information

Acquirer JCB EMV Test Card Set

Acquirer JCB EMV Test Card Set Acquirer JCB EMV Test Card Set July, 2017 Powered by Disclaimer Information provided in this document describes capabilities available at the time of developing this document and information available

More information

First Data Dual Interface EMV Test Card Set. Version 1.20

First Data Dual Interface EMV Test Card Set. Version 1.20 First Data Dual Interface EMV Test Card Set August, 2016 Disclaimer Information provided in this document describes capabilities available at the time of developing this document and information available

More information

instruction 1 Fri Oct 13 13:05:

instruction 1 Fri Oct 13 13:05: instruction Fri Oct :0:0. Introduction SECTION INSTRUCTION SET This section describes the aressing modes and instruction types.. Aressing Modes The CPU uses eight aressing modes for flexibility in accessing

More information

The 6502 Instruction Set

The 6502 Instruction Set The 6502 Instruction Set Load and Store Group LDA Load Accumulator N,Z LDX Load X Register N,Z LDY Load Y Register N,Z STA Store Accumulator STX Store X Register STY Store Y Register Arithmetic Group ADC

More information

ECE3120: Computer Systems Hardware & Software Development Tools

ECE3120: Computer Systems Hardware & Software Development Tools ECE3120: Computer Systems Hardware & Software Development Tools Manjeera Jeedigunta http://blogs.cae.tntech.edu/msjeedigun21 Email: msjeedigun21@tntech.edu Tel: 931-372-6181, Prescott Hall 120 Using the

More information

UNH-IOL MIPI Alliance Test Program

UNH-IOL MIPI Alliance Test Program DSI Receiver Protocol Conformance Test Report UNH-IOL 121 Technology Drive, Suite 2 Durham, NH 03824 +1-603-862-0090 mipilab@iol.unh.edu +1-603-862-0701 Engineer Name engineer@company.com Panel Company

More information

July Registration of a Cyrillic Character Set. Status of this Memo

July Registration of a Cyrillic Character Set. Status of this Memo Network Working Group Request for Comments: 1489 A. Chernov RELCOM Development Team July 1993 Status of this Memo Registration of a Cyrillic Character Set This memo provides information for the Internet

More information

Programming Book Microcontroller Kit. Rev 3.0 January, Wichit Sirichote

Programming Book Microcontroller Kit. Rev 3.0 January, Wichit Sirichote Programming Book1 8051 Microcontroller Kit Rev 3.0 January, 016 016 Wichit Sirichote 1 Contents Overview...3 SAFTY INFORMATION...3 Tools...3 Experiment 1 Blinking LED...4 Experiment Binary number counting...9

More information

Example Programs for 6502 Microprocessor Kit

Example Programs for 6502 Microprocessor Kit Example Programs for 6502 Microprocessor Kit 0001 0000 0002 0000 GPIO1.EQU $8000 0003 0000 0004 0000 0005 0200.ORG $200 0006 0200 0007 0200 A5 00 LDA $0 0008 0202 8D 00 80 STA $GPIO1 0009 0205 00 BRK 0010

More information

First Data DCC Test Card Set. Version 1.30

First Data DCC Test Card Set. Version 1.30 First Data DCC Test Card Set.30 April, 2018 Disclaimer Information provided in this document describes capabilities available at the time of developing this document and information available from industry

More information

CIS-331 Final Exam Spring 2016 Total of 120 Points. Version 1

CIS-331 Final Exam Spring 2016 Total of 120 Points. Version 1 Version 1 1. (25 Points) Given that a frame is formatted as follows: And given that a datagram is formatted as follows: And given that a TCP segment is formatted as follows: Assuming no options are present

More information

MIDI-Scope. Artistic Licence Engineering Ltd. Software Version V1.3 Manual Revision V1.91

MIDI-Scope. Artistic Licence Engineering Ltd. Software Version V1.3 Manual Revision V1.91 MIDI-Scope Artistic Licence Engineering Ltd Software Version V1.3 Manual Revision V1.91 Product Registration Form Product: MIDI-Scope Version No. Serial No. Date Purchased: Supplier: Name: Company Name:

More information

BINARY LOAD AND PUNCH

BINARY LOAD AND PUNCH BINARY LOAD AND PUNCH To easily decrease the amount of time it takes to load a long tape (Cassette or paper) a BINARY formatting technique can be used instead of the conventional ASCII format used by the

More information

ASCII Code - The extended ASCII table

ASCII Code - The extended ASCII table ASCII Code - The extended ASCII table ASCII, stands for American Standard Code for Information Interchange. It's a 7-bit character code where every single bit represents a unique character. On this webpage

More information

8085 INSTRUCTION SET INSTRUCTION DETAILS

8085 INSTRUCTION SET INSTRUCTION DETAILS 8085 INSTRUCTION SET INSTRUCTION DETAILS DATA TRANSFER INSTRUCTIONS MOV Rd, Rs Copy from source to destination This instruction copies the contents of the source register Rs into the destination register

More information

Instruction Set Instruction set of 8085 can be classified in following groups: Data Transfer Instructions These instructions can perform data transfer operations between Registers of 8085 e.g. MOV 8085

More information

Digital Lighting Systems, Inc. CD400-DMX DMX512 Four Channel Dimmer and Switch module

Digital Lighting Systems, Inc. CD400-DMX DMX512 Four Channel Dimmer and Switch module , Inc. DMX512 Four Channel Dimmer and Switch module Input: 5 Amps @ 6-24 VDC Outputs: 5 Amps Maximum each, total 4 outputs 8 Amps Maximum. FRONT BACK USER'S MANUAL -UM User's Manual - Page 1 GENERAL DESCRIPTION

More information

CS 537: Introduction to Operating Systems Fall 2015: Midterm Exam #1

CS 537: Introduction to Operating Systems Fall 2015: Midterm Exam #1 CS 537: Introduction to Operating Systems Fall 2015: Midterm Exam #1 This exam is closed book, closed notes. All cell phones must be turned off. No calculators may be used. You have two hours to complete

More information

CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 02, SPRING 2013

CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 02, SPRING 2013 CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 02, SPRING 2013 TOPICS TODAY Bits of Memory Data formats for negative numbers Modulo arithmetic & two s complement Floating point

More information

DBK24. Isolated Digital Output Chassis. Overview

DBK24. Isolated Digital Output Chassis. Overview DBK24 Isolated Digital Output Chassis Overview 1 Power Requirements 2 Hardware Setup 2 Card Connection 2 Card Configuration 3 DaqBook and DaqBoard Connection 4 DaqBoard/2000 Series Board Connection 5 DaqBook

More information

CIS-331 Final Exam Fall 2015 Total of 120 Points. Version 1

CIS-331 Final Exam Fall 2015 Total of 120 Points. Version 1 Version 1 1. (25 Points) Given that a frame is formatted as follows: And given that a datagram is formatted as follows: And given that a TCP segment is formatted as follows: Assuming no options are present

More information

LynX-10 Legacy Protocol Specification Version 1.01

LynX-10 Legacy Protocol Specification Version 1.01 LynX-10 Legacy Protocol Specification Version 1.01 Marrick Limited LynX-10 TM Legacy Protocol Specification Manual revision 1.01 Marrick Limited, Incorporated P.O. Box 950940 Lake Mary, FL 32795 (407)

More information

Contents. Join the Technical Community Today!

Contents. Join the Technical Community Today! Contents CHAPTER 1: INTRODUCTION... 5 1. WELCOME... 5 1.2 PS 8051 BOARD OVERVIEW... 6 1.3 PS 8051 SPECIFICATIONS... 7 CHAPTER 2: SYSTEM DESCRIPTION... 9 2.1 HARDWARE... 9 2.2 MAPPING OF DEVICES... 11 2.2.1

More information

B: Modbus Map and Retrieving Logs

B: Modbus Map and Retrieving Logs B: Modbus Map and Retrieving Logs B.: Introduction Communicator EXT User Manual B.: Modbus Register Map Sections B.3: Data Formats # B.4: Floating Point Values The formula to interpret a Floating Point

More information

KNX TinySerial 810. Communication Protocol. WEINZIERL ENGINEERING GmbH

KNX TinySerial 810. Communication Protocol. WEINZIERL ENGINEERING GmbH WEINZIERL ENGINEERING GmbH KNX TinySerial 810 Communication Protocol WEINZIERL ENGINEERING GmbH Bahnhofstr. 6 DE-84558 Tyrlaching GERMAY Tel. +49 8623 / 987 98-03 Fax +49 8623 / 987 98-09 E-Mail: info@weinzierl.de

More information

Systems/DBG Debugger Version 2.20

Systems/DBG Debugger Version 2.20 Systems/DBG Debugger Version 2.20 Copyright c 2018, Dignus, LLC Systems/DBG Debugger Version 2.20 i Copyright c 2018 Dignus LLC, 8378 Six Forks Road Suite 203, Raleigh NC, 27615. World rights reserved.

More information

Acquirer JCB Dual Interface EMV Test Card Set

Acquirer JCB Dual Interface EMV Test Card Set Acquirer JCB Dual Interface EMV Test Card Set.00 July, 2018 Powered by Disclaimer Information provided in this document describes capabilities available at the time of developing and delivering this document

More information

INSTRUCTION SET OF 8085

INSTRUCTION SET OF 8085 INSTRUCTION SET OF 8085 Instruction Set of 8085 An instruction is a binary pattern designed inside a microprocessor to perform a specific function. The entire group of instructions that a microprocessor

More information

6. Specifications & Additional Information

6. Specifications & Additional Information 6. Specifications & Additional Information SIIGX52004-3.1 Transceier Blocks Table 6 1 shows the transceier blocks for Stratix II GX and Stratix GX deices and compares their features. Table 6 1. Stratix

More information

One subset of FEAL, called FEAL-NX, is N round FEAL using a 128-bit key without key parity.

One subset of FEAL, called FEAL-NX, is N round FEAL using a 128-bit key without key parity. FEAL-NX SPECIFICATIONS 1 Introduction 1.1 Outline of the FEAL-NX cipher FEAL, the Fast Data Encipherment Algorithm, is a 64-bit block cipher algorithm that enciphers 64-bit plaintexts into 64-bit ciphertexts

More information

Problem 3. (12 points):

Problem 3. (12 points): Problem 3. (12 points): This problem tests your understanding of basic cache operations. Harry Q. Bovik has written the mother of all game-of-life programs. The Game-of-life is a computer game that was

More information

Small Computer Monitor User Guide

Small Computer Monitor User Guide Small Computer Monitor User Guide Monitor version 0.3 for the Z80 CPU Software and Documentation by Stephen C Cousins Edition 0.3.0 CONTENTS OVERVIEW... 3 Conventions... 3 Serial Port... 4 RC2014 Systems...4

More information

Assembly Language Programming of 8085

Assembly Language Programming of 8085 Assembly Language Programming of 8085 1. Introduction A microprocessor executes instructions given by the user Instructions should be in a language known to the microprocessor Microprocessor understands

More information

Digital Lighting Systems, Inc.

Digital Lighting Systems, Inc. Digital Lighting Systems, Inc. Four Channel Dry Contacts Relays Switch Pack DMX512 compatible USER'S MANUAL -UM User's Manual - Page 1 GENERAL DESCRIPTION The is a 4-channel DMX-512 compatible electro-mechanical

More information

Triple DES and AES 192/256 Implementation Notes

Triple DES and AES 192/256 Implementation Notes Triple DES and AES 192/256 Implementation Notes Sample Password-to-Key and KeyChange results of Triple DES and AES 192/256 implementation For InterWorking Labs customers who require detailed information

More information

8051 Single Board Monitor Programming. Minmon - Yeralan & Ahluwalia. PaulMon1 & PaulMon2 - Paul Stoffregen

8051 Single Board Monitor Programming. Minmon - Yeralan & Ahluwalia. PaulMon1 & PaulMon2 - Paul Stoffregen 8051 Single Board Monitor Programming Monitor Program Available Monitor Program Minmon - Yeralan & Ahluwalia Programming and Interfacing the 8051 Microcontroller PaulMon1 & PaulMon2 - Paul Stoffregen http://www.pjrc.com/tech/8051

More information

Microcontroller Intel [Instruction Set]

Microcontroller Intel [Instruction Set] Microcontroller Intel 8051 [Instruction Set] Structure of Assembly Language [ label: ] mnemonic [operands] [ ;comment ] Example: MOV R1, #25H ; load data 25H into R1 2 8051 Assembly Language Registers

More information

Small Computer Monitor User Guide

Small Computer Monitor User Guide Small Computer Monitor User Guide Monitor version 0.5 for the Z80 CPU Software and Documentation by Stephen C Cousins Edition 0.5.0 CONTENTS OVERVIEW...3 Conventions... 3 Serial port... 4 RC2014 systems...

More information

OOstaExcel.ir. J. Abbasi Syooki. HTML Number. Device Control 1 (oft. XON) Device Control 3 (oft. Negative Acknowledgement

OOstaExcel.ir. J. Abbasi Syooki. HTML Number. Device Control 1 (oft. XON) Device Control 3 (oft. Negative Acknowledgement OOstaExcel.ir J. Abbasi Syooki HTML Name HTML Number دهدهی ا کتال هگزاد سیمال باینری نشانه )کاراکتر( توضیح Null char Start of Heading Start of Text End of Text End of Transmission Enquiry Acknowledgment

More information

TEST DVD-VIDEO/ DVD-ROM For Checking DVD Players, DVD Recorders and DVD Drives TDH-940

TEST DVD-VIDEO/ DVD-ROM For Checking DVD Players, DVD Recorders and DVD Drives TDH-940 TEST DVD-VIDEO/ DVD-ROM For Checking DVD Players, DVD Recorders and DVD Drives TDH-940 Product Introduction. Purpose of use, Features TDH-940 is a Test Disc designed for confirmation of operation of DVD

More information

Communications guide. Line Distance Protection System * F1* GE Digital Energy. Title page

Communications guide. Line Distance Protection System * F1* GE Digital Energy. Title page Title page GE Digital Energy D90 Plus Line Distance Protection System Communications guide D90 Plus firmware revision:.9x GE publication code: 60-9070-F (GEK-3469) GE Digital Energy 650 Markland Street

More information

Assembly Language programming (1)

Assembly Language programming (1) EEE3410 Microcontroller Applications LABORATORY Experiment 1 Assembly Language programming (1) Name Class Date Class No. Marks Familiarisation and use of 8051 Simulation software Objectives To learn how

More information

USB-ASC232. ASCII RS-232 Controlled USB Keyboard and Mouse Cable. User Manual

USB-ASC232. ASCII RS-232 Controlled USB Keyboard and Mouse Cable. User Manual USB-ASC232 ASCII RS-232 Controlled USB Keyboard and Mouse Cable User Manual Thank you for purchasing the model USB-ASC232 Cable HAGSTROM ELECTRONICS, INC. is pleased that you have selected this product

More information

EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER

EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER OBJECT: EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER To understand the structure and operating instruction of the microprocessor trainer. INTRODUCTION: The MKT 8085 is a single-board microcomputer,

More information

6.1 Font Types. Font Types

6.1 Font Types. Font Types 6 Font This chapter explains basic features of GP-Pro EX's "Font" and basic ways of placing text with each font. Please start by reading "6.1 Font Types" (page 6-2) and then turn to the corresponding page.

More information

Practical Course File For

Practical Course File For Practical Course File For Microprocessor (IT 473) B.Tech (IT) IV-SEM Department of IT University Institute of Engineering & Technology Panjab University, Chandigarh Page 1 INTRODUCTION... 4 EXPERIMENT-1:

More information

Chapter. Computer Architecture

Chapter. Computer Architecture Chapter 4 Computer Architecture Figure 4.1 Input device Central processing unit Main memory Output device Bus Data flow Control Figure 4.2 Central processing unit () Status bits ( ) Accumulator ( ) Index

More information

Assembly Language Programming of 8085

Assembly Language Programming of 8085 Assembly Language Programming of 8085 Topics 1. Introduction 2. Programming model of 8085 3. Instruction set of 8085 4. Example Programs 5. Addressing modes of 8085 6. Instruction & Data Formats of 8085

More information

Application Note. Interfacing the X9241 XDCPs to 8051 Microcontrollers AN20. by Applications Staff, June 2000

Application Note. Interfacing the X9241 XDCPs to 8051 Microcontrollers AN20. by Applications Staff, June 2000 Interfacing the X9241 XDCPs to 8051 Microcontrollers by Applications Staff, June 2000 The X9241 has a variety of different instructions that provide flexibility to the designer. Additionally, the nonvolatile

More information

Hash Constant C Determinants leading to collisionfree

Hash Constant C Determinants leading to collisionfree Hash Constant C Determinants leading to collisionfree (Ernst Erich Schnoor) eschnoor@multi-matrix.de Addendum to article: Core of the CypherMatrix Method http://www.telecypher.net/corecyph.htm#z6 Object

More information

Fundamentals of Cryptography

Fundamentals of Cryptography Fundamentals of Cryptography Topics in Quantum-Safe Cryptography June 23, 2016 Part III Data Encryption Standard The Feistel network design m m 0 m 1 f k 1 1 m m 1 2 f k 2 2 DES uses a Feistel network

More information

Intel Architecture Segment:Offset Memory Addressing

Intel Architecture Segment:Offset Memory Addressing Name: Date: Lab Section: Lab partner s name: Lab PC Number: Objectives: Understanding video memory and character mapping of CGA characters in ROM BIOS, using the DOS debug command. Writing simple assembly-language

More information

460 Presentation Audio Mixer

460 Presentation Audio Mixer CONTROL PROTOCOL Revision 2.1 - For 460 version 1.08 Command Protocol 2000-2002 Symetrix, Inc. All rights reserved. Printed in the United States of America The information in this guide is subject to change

More information

CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 02, FALL 2012

CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 02, FALL 2012 CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 02, FALL 2012 ANNOUNCEMENTS TA Office Hours (ITE 334): Genaro Hernandez, Jr. Mon 10am 12noon Roshan Ghumare Wed 10am 12noon Prof.

More information

(2) Explain the addressing mode of OR What do you mean by addressing mode? Explain diff. addressing mode for 8085 with examples.

(2) Explain the addressing mode of OR What do you mean by addressing mode? Explain diff. addressing mode for 8085 with examples. (1) Explain instruction format and Opcode format of 8085 μp with example. OR With help of examples, explain the formation of opcodes of 8085 OR What is an instruction? List type of instruction based on

More information

Interac USA Interoperability EMV Test Card Set

Interac USA Interoperability EMV Test Card Set Interac USA Interoperability EMV Test Card Set.00 April, 2018 Powered by Disclaimer Information provided in this document describes capabilities available at the time of developing this document and information

More information

The Tic-Tac-Toe Game with the NST (Not-So-Tiny) CPU Introduction

The Tic-Tac-Toe Game with the NST (Not-So-Tiny) CPU Introduction The Tic-Tac-Toe Game with the NST (Not-So-Tiny) CPU Introduction The entire project file can be downloaded from the ELE405 FTP site as TTT2.ZIP (needless to say that this is version 2 of the TTT line).

More information

CONTENTS. 1.0 Introduction Description of the Circuit Installation Connection of Power Supply 4

CONTENTS. 1.0 Introduction Description of the Circuit Installation Connection of Power Supply 4 1 CONTENTS PAGE NO 1.0 Introduction 2 2.0 Description of the Circuit 3 3.0 Installation 3 3.1 Connection of Power Supply 4 3.2 Connection of Output Signals to Relay Contacts 4 3.3 Interfacing to ESA Trainers

More information

MC9S12 Assembler Directives A Summary of MC9S12 Instructions Disassembly of MC9S12 op codes. Summary of HCS12 addressing modes ADDRESSING MODES

MC9S12 Assembler Directives A Summary of MC9S12 Instructions Disassembly of MC9S12 op codes. Summary of HCS12 addressing modes ADDRESSING MODES MC9S12 Assembler Directives A Summary of MC9S12 Instructions Disassembly of MC9S12 op codes o Review of Addressing Modes o Which branch instruction to use (signed vs unsigned) o Using X and Y registers

More information

A. CPU INSTRUCTION SET SUMMARY

A. CPU INSTRUCTION SET SUMMARY A. CPU INSTRUCTION SET SUMMARY This appendix summarizes the CPU instruction set. Table A-1 is a matrix of CPU instructions and addressing modes arranged by operation code. Table A-2 lists the CPU instruction

More information

Lecture 16: Passing Parameters on the Stack. Push Examples. Pop Examples. CALL and RET

Lecture 16: Passing Parameters on the Stack. Push Examples. Pop Examples. CALL and RET Lecture 1: Passing Parameters on the Stack Push Examples Quick Stack Review Passing Parameters on the Stack Binary/ASCII conversion ;assume SP = 0202 mov ax, 124h push ax push 0af8h push 0eeeh EE 0E F8

More information

Digital Projector X30N/X35N

Digital Projector X30N/X35N Digital Projector X30N/X35N Operator's Guide TECHNICAL Warranty 3M warrants that when the 3M Product is used according to 3M s Intended Use Statement (www.3m.com/meetings), it will perform satisfactorily

More information

8051 Overview and Instruction Set

8051 Overview and Instruction Set 8051 Overview and Instruction Set Curtis A. Nelson Engr 355 1 Microprocessors vs. Microcontrollers Microprocessors are single-chip CPUs used in microcomputers Microcontrollers and microprocessors are different

More information

CDR File Information. Comments Direct PCM

CDR File Information. Comments Direct PCM IMPORTANT NOTICE: Robert Bosch LLC and the manufacturers whose vehicles are accessible using the CDR System urge end users to use the latest production release of the Crash Data Retrieval system software

More information

Digital Lighting Systems, Inc.

Digital Lighting Systems, Inc. , Inc. PD402-DMX Four Channel Dimmer and Switch Packs 4 x 2.5 Amps @ 6VDC to 24 VDC DMX52 compatible DMX52 4 x 2.5 Amps Dimmer Pack C UL US LISTED Digital Lighting Systems, Inc. USER'S MANUAL User's Manual

More information

Programming of 8085 microprocessor and 8051 micro controller Study material

Programming of 8085 microprocessor and 8051 micro controller Study material 8085 Demo Programs Now, let us take a look at some program demonstrations using the above instructions Adding Two 8-bit Numbers Write a program to add data at 3005H & 3006H memory location and store the

More information

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI-621213. QUESTION BANK DEPARTMENT: EEE SUB CODE: EE2324 YR/ SEM:III/ VI SUB NAME: MICROPROCESSORS & MICROCONTROLLERS UNIT 2- PROGRAMMING OF 8085 MICROPROCESSORS

More information

Chapter 3. Z80 Instructions & Assembly Language. Von Neumann Architecture. Memory. instructions. program. data

Chapter 3. Z80 Instructions & Assembly Language. Von Neumann Architecture. Memory. instructions. program. data Von Neumann Architecture The von Neumann architecture is a computer design model that uses a processing unit and a separate storage to hold both instructions and data To run a machine, program and data

More information

Microprocessors 1. The 8051 Instruction Set. Microprocessors 1 1. Msc. Ivan A. Escobar Broitman

Microprocessors 1. The 8051 Instruction Set. Microprocessors 1 1. Msc. Ivan A. Escobar Broitman Microprocessors 1 The 8051 Instruction Set Microprocessors 1 1 Instruction Groups The 8051 has 255 instructions Every 8-bit opcode from 00 to FF is used except for A5. The instructions are grouped into

More information

8051 Microcontroller Assembly Programming

8051 Microcontroller Assembly Programming 8051 Microcontroller Assembly Programming EE4380 Fall 2002 Class 3 Pari vallal Kannan Center for Integrated Circuits and Systems University of Texas at Dallas Topics Machine code 8051 Addressing Modes

More information

VM7000A PAPERLESS RECORDER COMMUNICATION FUNCTION OPERATION MANUAL

VM7000A PAPERLESS RECORDER COMMUNICATION FUNCTION OPERATION MANUAL VM7000A PAPERLESS RECORDER COMMUNICATION FUNCTION OPERATION MANUAL WXPVM70mnA0002E October, 2009(Rev.1) All Rights Reserved, Copyright 2009, Ohkura Electric Co.,Ltd. To use this equipment safely Thank

More information

10. RS-232C communication

10. RS-232C communication 10. RS-232C communication PB9200(P5XMLA) Connecting the cable (1) Turn off the projector and the computer power supplies. (2) Connect the CONTROL port of the projector with a RS-232C port of the computer

More information

AN1742. Programming the 68HC705J1A In-Circuit By Chris Falk CSG Product Engineering Austin, Texas. Introduction. Overview

AN1742. Programming the 68HC705J1A In-Circuit By Chris Falk CSG Product Engineering Austin, Texas. Introduction. Overview Order this document by /D Programming the 68HC705J1A In-Circuit By Chris Falk CSG Product Engineering Austin, Texas Introduction Overview This application note describes how a user can program the 68HC705J1A

More information