What are they and what are their differences?

  • Unbanked access
  • Banked access
  • Common memory access

This question is originated from my reading of MPLAB XC8 PIC Assembler User's Guide where the latest XC8 compiler requires a preprocessor directive to contain or wrap assembly codes in sections called PSECT. I have a basic understanding of memory management where instructions are stored in program memory (ROM), variables are stored in data memory (RAM) and temporary instructional data are stored in the stack etc. My understanding of memory banking is to divide the RAM into pair just so to enable writing or reading two bytes from two different memory location simultaneously in one cycle, but I'm not sure if this mechanism is device dependent or is that a general concept in computer science. And the term of unbanked, banked and common access is rather confusing - is that a grouping mechanism of memory or different ways of accessing memory? Hence my question.

Data Memory Class

  • $\begingroup$ well, helpful if any downvoter can at least leave a comment and suggest how to improve my question or why if the question is inappropriate. $\endgroup$
    – KMC
    Aug 21, 2020 at 3:18
  • $\begingroup$ Do not dump assignments on unsuspecting communities. With COMPUTERSCIENCE @SE, stick to what's on-topic, heed How do I ask a Good Question? and show what you tried and where exactly you see yourself stuck. $\endgroup$
    – greybeard
    Aug 21, 2020 at 4:43
  • $\begingroup$ @greybeard question edited with better detail. $\endgroup$
    – KMC
    Aug 21, 2020 at 5:32
  • $\begingroup$ Foremost, the instruction encoding is different. Check out Electrical Engineering@SE - they have a tag PIC18, if without questions up to now. $\endgroup$
    – greybeard
    Aug 21, 2020 at 7:20


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.