Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #381950
| From | piglet <erichpwagner@hotmail.com> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: OT: Reformatted update on table call problem |
| Date | 2015-10-18 09:50 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <mvvmch$k5i$1@dont-email.me> (permalink) |
| References | (6 earlier) <2FBTx.1$Bl2.0@fx27.iad> <mvo12b$l30$1@speranza.aioe.org> <g60Ux.30755$pi.6960@fx05.iad> <mvq47l$l5e$1@dont-email.me> <15FUx.26195$Bl2.25051@fx27.iad> |
On 18/10/2015 05:19, Robert Baer wrote: > From ASM listing: > 00038 ; From AN556 page 3, EXAMPLE 5: > 0080 00039 org 0x80 ;code location page 0 > 0080 3002 00040 movlw HIGH Table > 0081 008A 00041 movwf PCLATH > 00042 ; movlw ptrlo,F > MPASM 5.41 AN556CHK.ASM 10-12-2015 > LOC OBJECT CODE LINE SOURCE TEXT > VALUE > > 00043 > 00044 > 0082 3020 00045 movlw ptrlo > 0083 22FF 00046 call Table > 0084 2086 00047 CALL DISPL > 00048 ; Does NOT work; see 0x00, 0xFF, 0xFF, 0xFF > 0085 2810 00049 GOTO start > > > 00071 ; From AN556 page 3, EXAMPLE 4: > 02FF 00072 org 0x02ff ;Table, end of page 2 > 02FF 080A 00073 Table: MOVF PCLATH,W > 0300 2086 00074 CALL DISPL > 0301 30A5 00075 MOVLW 0xA5 > 0302 2086 00076 CALL DISPL > 0303 2810 00077 GOTO start > 0304 0782 00078 addwf PCL,F > 0305 3441 00079 retlw d'65' > 0306 3442 00080 retlw d'66' > 0307 3443 00081 retlw d'67' > What happens to the return address that was pushed to the stack at 0083, where is it popped off by a return instruction? Or in other words please tell how instructions at 0304, 0305, 0306, 0307 will get a chance to execute? Hint: please look at 0303 piglet
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
OT: Reformatted update on table call problem Robert Baer <robertbaer@localnet.com> - 2015-10-11 23:17 -0700
Re: OT: Reformatted update on table call problem piglet <erichpwagner@hotmail.com> - 2015-10-12 09:17 +0100
Re: OT: Reformatted update on table call problem Robert Baer <robertbaer@localnet.com> - 2015-10-12 19:11 -0700
Re: OT: Reformatted update on table call problem Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-10-13 08:17 +0100
Re: OT: Reformatted update on table call problem Robert Baer <robertbaer@localnet.com> - 2015-10-13 22:26 -0700
Re: OT: Reformatted update on table call problem piglet <erichpwagner@hotmail.com> - 2015-10-14 07:50 +0100
Re: OT: Reformatted update on table call problem Robert Baer <robertbaer@localnet.com> - 2015-10-14 16:35 -0700
Re: OT: Reformatted update on table call problem Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-10-15 12:01 +0100
Re: OT: Reformatted update on table call problem Robert Baer <robertbaer@localnet.com> - 2015-10-15 22:41 -0700
Re: OT: Reformatted update on table call problem piglet <erichpwagner@hotmail.com> - 2015-10-16 07:09 +0100
Re: OT: Reformatted update on table call problem Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-10-16 08:50 +0100
Re: OT: Reformatted update on table call problem piglet <erichpwagner@hotmail.com> - 2015-10-16 09:31 +0100
Re: OT: Reformatted update on table call problem Robert Baer <robertbaer@localnet.com> - 2015-10-17 21:34 -0700
Re: OT: Reformatted update on table call problem piglet <erichpwagner@hotmail.com> - 2015-10-18 09:42 +0100
Re: OT: Reformatted update on table call problem Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-10-19 09:12 +0100
Re: OT: Reformatted update on table call problem Robert Baer <robertbaer@localnet.com> - 2015-10-19 23:04 -0700
Re: OT: Reformatted update on table call problem Robert Baer <robertbaer@localnet.com> - 2015-10-17 21:08 -0700
Re: OT: Reformatted update on table call problem piglet <erichpwagner@hotmail.com> - 2015-10-18 09:45 +0100
Re: OT: Reformatted update on table call problem Robert Baer <robertbaer@localnet.com> - 2015-10-19 23:08 -0700
Re: OT: Reformatted update on table call problem Robert Baer <robertbaer@localnet.com> - 2015-10-17 21:19 -0700
Re: OT: Reformatted update on table call problem piglet <erichpwagner@hotmail.com> - 2015-10-18 09:50 +0100
Re: OT: Reformatted update on table call problem Robert Baer <robertbaer@localnet.com> - 2015-10-19 23:14 -0700
Re: OT: Reformatted update on table call problem Robert Baer <robertbaer@localnet.com> - 2015-10-17 21:03 -0700
Re: OT: Reformatted update on table call problem piglet <erichpwagner@hotmail.com> - 2015-10-18 10:14 +0100
Re: OT: Reformatted update on table call problem Robert Baer <robertbaer@localnet.com> - 2015-10-19 23:31 -0700
Re: Reformatted update on table call problem "P E Schoen" <paul@pstech-inc.com> - 2015-10-20 20:30 -0400
Re: Reformatted update on table call problem Robert Baer <robertbaer@localnet.com> - 2015-10-20 22:42 -0700
Re: Reformatted update on table call problem "P E Schoen" <paul@pstech-inc.com> - 2015-10-21 14:06 -0400
Re: Reformatted update on table call problem Robert Baer <robertbaer@localnet.com> - 2015-10-23 21:01 -0700
Re: Reformatted update on table call problem "P E Schoen" <paul@pstech-inc.com> - 2015-10-24 01:08 -0400
Re: Reformatted update on table call problem krw <krw@nowhere.com> - 2015-10-24 09:05 -0400
Re: OT: Reformatted update on table call problem Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-10-12 09:46 +0100
Re: OT: Reformatted update on table call problem piglet <erichpwagner@hotmail.com> - 2015-10-12 10:39 +0100
Re: OT: Reformatted update on table call problem Martin Riddle <martin_ridd@verizon.net> - 2015-10-12 08:24 -0400
Re: OT: Reformatted update on table call problem Robert Baer <robertbaer@localnet.com> - 2015-10-12 19:54 -0700
Re: OT: Reformatted update on table call problem Robert Baer <robertbaer@localnet.com> - 2015-10-12 19:55 -0700
Re: OT: Reformatted update on table call problem Robert Baer <robertbaer@localnet.com> - 2015-10-12 19:49 -0700
Re: OT: Reformatted update on table call problem Robert Baer <robertbaer@localnet.com> - 2015-10-12 19:44 -0700
Re: OT: Reformatted update on table call problem (OOPS!) Robert Baer <robertbaer@localnet.com> - 2015-10-12 23:52 -0700
csiph-web