"Skills, Knowledge, Abilities, and Experiences

are only useful....

If you are at the right place "

"Try listening to music from the Thai Symphony Orchestra, you may like it"

C:\ Direct & Indirect Address

MCS51 Direct & Indirect Address

The 128 Bytes of RAM which can be accessed by both direct and indirect addressing can be divided into 3 segments as shown in picture. หน่วยความจำข้อมูลภายในของ MCS51 มีด้วยกันทั้งหมด 256 ไบต์ โดยแบ่งออกเป็นสองลักษณะ คือ พื้นที่เฉพาะสำหรับตัวประมวลผล CPU ใช้งานเท่านั้นซึ่งเรามักเรียกว่า Register และพื้นที่ใช้งานทั่วไปสำหรับโปรแกรมใช้งานที่ผู้ใช้สร้างขึ้น จากรูป (รูปแรก) แสดงพื้นที่ของหน่วยความจำข้อมูลภายใน 128 ไบต์แรกของ MCS51 ซึ่งมีแอดเดรสอยู่ในช่วง 00h – 7Fh ซึ่งยังแบ่งย่อยออกได้อีกเป็นสามส่วนตามประเภทการใช้งาน บริเวณแอดเดรส 00h – 1Fh จำนวน 32 ไบต์ […]