[FAQ] Uninstall Linux from dual boot system

Uninstall Linux from dual boot system 雙系統安全移除

常常安裝雙系統的使用者都知道,安裝雙系統(Win + Linux Distributions)比較簡單且安全的方式是先安裝 Windows 系統後在安裝 Linux 系統,詳細為何不再贅述。

這次主要是紀錄當要把 Linux 系統移除時,要如何做才安全正確

Continue reading “[FAQ] Uninstall Linux from dual boot system”

[Com.] Indirect Addressing

Indirect addressing:

the address of the data is held in an intermediate location so that the address is first ‘looked up’ and then used to locate the data itself.

indirectaddressing

  1. A specific block of memory will be used by the loader to store the starting address of every subroutine within the library. This block of memory is called a ‘vector table‘. A vector table holds addresses rather than data. The application is informed by the loader of the location of the vector table itself.
  2. In order for the CPU to get to the data, the code first of all fetches the content at RAM location 5002 which is part of the vector table.
  3. The data it contains is then used as the address of the data to be fetched, in this case the data is at location 9000

A typical assembly language instruction would look like:

MOV A, @5002

This looks to location 5002 for an address. That address is then used to fetch data and load it into the accumulator. In this instance it is 302.

Reference:

http://www.teach-ict.com/as_as_computing/ocr/H447/F453/3_3_8/lowlevel/miniweb/pg4.htm