Re: Pitanje iz asemblera
3. a) Izgled predmetnih programa PGA i PGB po skolskom formatu:
Modul PGA
LINK
224
#segments name base len type
.text 00 02 RP
.data 02 02 RWP
#symbols name value seg type
PGA 00 1 D
PGB 0 0 U
#relocations loc seg ref type
00 1 1 A1
01 1 2 AS1
02 2 2 A1
03 2 2 A1
#data
00 04
02 03
Modul PGB
LINK
223
#segments name base len type
.text 00 02 RP
.data 02 01 RWP
#symbols name value seg type
PGB 00 1 D
PGA 0 0 U
#relocations loc seg ref type
00 1 2 AS1
01 1 1 A1
02 2 2 AS1
#data
00 04
FE
b) TABELA SIMBOLA
Symbol Value
PGA 00
PGB 02
APSOLUTIZOVANI MASINSKI KOD POSLE PUNJENJA I POVEZIVANJA
Mem. Adr. Value
00 00
01 06
02 00
03 06
04 04
05 05
06 FA
Modul PGA
LINK
224
#segments name base len type
.text 00 02 RP
.data 02 02 RWP
#symbols name value seg type
PGA 00 1 D
PGB 0 0 U
#relocations loc seg ref type
00 1 1 A1
01 1 2 AS1
02 2 2 A1
03 2 2 A1
#data
00 04
02 03
Modul PGB
LINK
223
#segments name base len type
.text 00 02 RP
.data 02 01 RWP
#symbols name value seg type
PGB 00 1 D
PGA 0 0 U
#relocations loc seg ref type
00 1 2 AS1
01 1 1 A1
02 2 2 AS1
#data
00 04
FE
b) TABELA SIMBOLA
Symbol Value
PGA 00
PGB 02
APSOLUTIZOVANI MASINSKI KOD POSLE PUNJENJA I POVEZIVANJA
Mem. Adr. Value
00 00
01 06
02 00
03 06
04 04
05 05
06 FA
- Follow-Ups:
- Re[2]: Pitanje iz asemblera
- From: Miloš Podolšak <milos.podolsak@gmail.com>
- Re: Pitanje iz asemblera
- From: Dimitrije Paunovic <dishapaun@sbb.co.yu>
- Re[2]: Pitanje iz asemblera
- References:
- Pitanje (relocations -> ref)
- From: Nenad Tesovic <tesovicn@gmail.com>
- Re: Pitanje (relocations -> ref)
- From: "Milos Markovic" <cassper@beotel.yu>
- Pitanje iz asemblera
- From: Dimitrije Paunovic <dishapaun@sbb.co.yu>
- Pitanje (relocations -> ref)
Previous by date: Pitanje iz asemblera
Next by date: Re: Pitanje iz asemblera
Previous by thread: Pitanje iz asemblera Next by thread: Re: Pitanje iz asemblera
Previous by thread: Pitanje iz asemblera Next by thread: Re: Pitanje iz asemblera