Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #379784

OT: Fetch random byte on PIC16F648A and "return"

From Robert Baer <robertbaer@localnet.com>
Newsgroups sci.electronics.design
Subject OT: Fetch random byte on PIC16F648A and "return"
Message-ID <xKrPx.6$md5.2@fx28.iad> (permalink)
Date 2015-10-02 02:02 -0700

Show all headers | View raw


   OK, have code that can jump to any location AKA any part of any table 
of any length.
   So..PCLATH is set, PCL is set and BAM we see a RETLW <random byte>.
   Obviously that is not a CALL so AFAIK nothing is pushed to the stack.
   Therefore, it seems that one is exposed to ranDUMB "return" locations 
being issued from a non-initialized stack ==> anywhere!

   Is this interpretation correct?

   If so, then how could one issue a (true) CALL to any location AKA any 
part of any table of any length?

   Thanks.

Back to sci.electronics.design | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

OT: Fetch random byte on PIC16F648A and "return" Robert Baer <robertbaer@localnet.com> - 2015-10-02 02:02 -0700
  Re: OT: Fetch random byte on PIC16F648A and "return" Syd Rumpo <usenet@nononono.co.uk> - 2015-10-02 10:20 +0100
    Re: OT: Fetch random byte on PIC16F648A and "return" Robert Baer <robertbaer@localnet.com> - 2015-10-02 10:11 -0700
      Re: OT: Fetch random byte on PIC16F648A and "return" Martin Riddle <martin_rid@verizon.net> - 2015-10-03 20:36 -0400
        Re: OT: Fetch random byte on PIC16F648A and "return" Robert Baer <robertbaer@localnet.com> - 2015-10-04 02:00 -0700
    Re: OT: Fetch random byte on PIC16F648A and "return" Robert Baer <robertbaer@localnet.com> - 2015-10-06 09:34 -0700
      Re: OT: Fetch random byte on PIC16F648A and "return" Syd Rumpo <usenet@nononono.co.uk> - 2015-10-06 18:13 +0100
        Re: OT: Fetch random byte on PIC16F648A and "return" Robert Baer <robertbaer@localnet.com> - 2015-10-06 13:31 -0700
  Re: OT: Fetch random byte on PIC16F648A and "return" Ian Malcolm <See.My.Sig.for.email@totally.invalid> - 2015-10-03 02:02 +0000
    Re: OT: Fetch random byte on PIC16F648A and "return" Robert Baer <robertbaer@localnet.com> - 2015-10-04 01:56 -0700

csiph-web