From: N%"rja@uk.ac.ed.lfcs" 4-JUL-1991 17:17 To: rja@uk.ac.ed.lfcs, rwt@uk.ac.ed.lfcs Subj: 4 commands: details Via: LFCS; 4 Jul 91 17:17:50 BST From: Robert Armstrong Date: Thu, 4 Jul 91 17:23:26 BST Within the 4 command there are actually 8, 1 for each bit). the opcodes for each mnemonic are given: RMB0 - $07 RMB1 - $17 RMB2 - $27 RMB3 - $37 RMB4 - $47 RMB5 - $57 RMB6 - $67 RMB7 - $77 SMB0 - $87 SMB1 - $97 SMB2 - $A7 SMB3 - $B7 SMB4 - $C7 SMB5 - $D7 SMB6 - $E7 SMB7 - $F7 BBR0 - $0F BBR1 - $1F BBR2 - $2F BBR3 - $3F BBR4 - $4F BBR5 - $5F BBR6 - $6F BBR7 - $7F BBS0 - $8F BBS1 - $9F BBS2 - $AF BBS3 - $BF BBS4 - $CF BBS5 - $DF BBS6 - $EF BBS7 - $FF The format for each of the four instructions is: RMBx SMBx where addr is a 1 byte address BBRx where addr is a 1 byte address and addroffset is a 1 byte offset from the current address Here is an example of BBR: DA60 5F 4A 03 BBR5 &4A,&DA66 DA63 4C 40 DA JMP &DA40 DA66 D7 4A SMB5 &4A (and SMB) BBS and RMB are the same format. Thats it... the name of the processor is 6511Q if you want to create a new assembler - this may be used in the future in conjunction with the photocopier controller. Rab