logo

Crowdly

Introduction au système d'exploitation 2

Looking for Introduction au système d'exploitation 2 test answers and solutions? Browse our comprehensive collection of verified answers for Introduction au système d'exploitation 2 at esiclass.esi.dz.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

  • Give the data segment memory content and the labels values for the following code:
Guidelines:

  1. Specify your answer using uppercase letters.
  2. In this question, we take the data segment type as undefined.
  3. The label values should be given as 4 hexadecimal digits. The memory content values should be on 2 digits.
  4. Put just a slash '/' in the unneeded memory spaces. Do not include any spaces.

Stack

segment          stack

            Db                   125

dup (?)

Stack  ends   

data

segment              type

a          dw     7534o,1111010110110011b,4,-125,0bfh

b          db      5Eh,4 dup (48,0),64,'abcd'

            .radix   16

c          dd    4321,24d,9876,10011b

            dw       7851,1234,50D

data    

ends

code segment

...

code ends

         end start

a=H

a+1

a+2

a+3

a+4

a+5

a+6

a+7

a+8

a+9

a+10

a+11

a+12

H

H

H

H

H

H

H

H

H

H

H

H

H

Merci de répondre à tous les éléments de la question.
View this question

  • Give the data segment memory content and the labels values for the following code:
Guidelines:

  1. Specify your answer using uppercase letters.
  2. In this question, we take the data segment type as undefined.
  3. The label values should be given as 4 hexadecimal digits. The memory content values should be on 2 digits.
  4. Put just a slash '/' in the unneeded memory spaces. Do not include any spaces.

Stack segment          stack

            Db                   125 dup (?)

Stack  ends   

data segment              type

a          dw     7534o,1111010110110011b,4,-125,0bfh

b          db      5Eh,4 dup (48,0),64,'abcd'

            .radix   16

c          dd    4321,24d,9876,10011b

            dw       7851,1234,50D

data     ends

code segment

...

code ends

         end start

b=H

b+1

b+2

b+3

b+4

b+5

b+6

b+7

b+8

b+9

b+10

b+11

b+12

b+13

b+14

H

H

H

H

H

H

H

H

H

H

H

H

H

H

H

Merci de répondre à tous les éléments de la question.
View this question

  • Give the data segment memory content and the labels values for the following code:
Guidelines:

  1. Specify your answer using uppercase letters.
  2. In this question, we take the data segment type as undefined.

  3. The label values should be given as 4 hexadecimal digits. The memory content values should be on 2 digits.
  4. Put just a slash '/' in the unneeded memory spaces. Do not include any spaces.

Stack segment          stack

            Db                   125 dup (?)

Stack  ends   

data segment              type

a          dw     7534o,1111010110110011b,4,-125,0bfh

b          db      5Eh,4 dup (48,0),64,'abcd'

            .radix   16

c          dd    4321,24d,9876,10011b

            dw       7851,1234,50d

data     ends

code segment

...

code ends

         end start

c=H

c+1

c+2

c+3

c+4

c+5

c+6

c+7

c+8

c+9

c+10

c+11

c+12

c+13

c+14

c+15

c+16

c+17

c+18

c+19

c+20

c+21

H

H

H

H

H

H

H

H

H

H

H

H

H

H

H

H

H

H

H

H

H

H

View this question

  • Give the data segment memory content and the labels values for the following code:
Guidelines:

  1. Specify your answer using uppercase letters.
  2. In this question, we take the data segment type as undefined.
  3. The label values should be given as 4 hexadecimal digits. The memory content values should be on 2 digits.
  4. Put just a slash '/' in the unneeded memory spaces. Do not include any spaces.

Stack segment          stack

            Db                   125 dup (?)

Stack  ends   

data segment              type

a          dw     7534o,1111010110110011b,4,-125,0bfh

b          db      5Eh,4 dup (48,0),64,'abcd'

            .radix   16

c          dd    4321,24d,9876,10011b

            dw       7851,1234,50D

data     ends

code segment

...

code ends

         end start

b=H

b+1

b+2

b+3

b+4

b+5

b+6

b+7

b+8

b+9

b+10

b+11

b+12

b+13

b+14

H

H

H

H

H

H

H

H

H

H

H

H

H

H

H

View this question

  • Give the data segment memory content and the labels values for the following code:
Guidelines:

  1. Specify your answer using uppercase letters.
  2. In this question, we take the data segment type as undefined.
  3. The label values should be given as 4 hexadecimal digits. The memory content values should be on 2 digits.
  4. Put just a slash '/' in the unneeded memory spaces. Do not include any spaces.

Stack

segment          stack

            Db                   125

dup (?)

Stack  ends   

data

segment              type

a          dw     7534o,1111010110110011b,4,-125,0bfh

b          db      5Eh,4 dup (48,0),64,'abcd'

            .radix   16

c          dd    4321,24d,9876,10011b

            dw       7851,1234,50D

data    

ends

code segment

...

code ends

         end start

a=H

a+1

a+2

a+3

a+4

a+5

a+6

a+7

a+8

a+9

a+10

a+11

a+12

H

H

H

H

H

H

H

H

H

H

H

H

H

View this question
  • Define the nearest segment number (the largest possible segment number with the least offset) for the following addresses.
  • For each address, specify the logical addresses (Segment_number:Offset) for each possible segment. 
Guideline:

  1. Your answer should give the addresses in increasing order from the least segment number to the largest segment number. 
  2. Each value, segment number or offset, must contain 4 hexadecimal digits. 
  3. For multiple addresses, separate the addresses by semi-colons. Use the following syntax (0213:0003);(0213:0100);(0512:0130)
  4. All values are hexadecimal values you don't have to specify the H.
  5. Do not include any spaces.

Physical address

1.    

Nearest Segment number

2.    

Addresses contained in each segment

674DEH

H

 

6FD61H  

H

 

96333H

H

 

987CBH

H

 

View this question

Activity:

if the possible operation codes are 100010dw or 1011wreg and DS=CS=SS=073F, AX=0210, BX=0400, CX=4587, SI=0002, DI=0008, BP=0100, Array=0100 and ARRAY contains BA

  • Complete the following table by giving the logical and physical addresses, the memory space content after execution of the instruction and the machine code/instruction's different code fields and operand values of the defined first code segment instructions.
  • Give the offset, the immediate value, addresses and content in hexadecimal. The explicit operation code and addressing mode value should be in binary.
  • If the part is not needed, you must indicate it by a slash / , as in the given example.
  • Transcribe your answers in uppercase letters.

Machine Code

Operation Code

Addressing Mode

Offset

(in HEXA)

Value

(in HEXA)

Log @

Seg_num:Offset

Phy @

Memory Content

Instruction

MO

REG

REG/M

ex: BA4000

10111010

/

/

/

/

40

/

/

/

MOV DX, 40h

00

MOV [BP], CX

Merci de répondre à tous les éléments de la question.
View this question

Activity:

if the possible operation codes are 100010dw or 1011wreg and DS=CS=SS=073F, AX=0210, BX=0400, CX=4587, SI=0002, DI=0008, BP=0100, ARRAY=0100 and ARRAY contains BA

  • Complete the following table by giving the logical and physical addresses, the memory space content after execution of the instruction and the machine code/instruction's different code fields and operand values of the defined first code segment instructions.
  • Give the offset, the immediate value, addresses and content in hexadecimal. The explicit operation code and addressing mode value should be in binary.
  • If the part is not needed, you must indicate it by a slash / , as in the given example.
  • Transcribe your answers in uppercase letters.

Machine Code

Operation Code

Addressing Mode

Offset

(in HEXA)

Value

(in HEXA)

Log @

Seg_num:Offset

Phy @

Memory Content

Instruction

MO

REG

REG/M

ex: BA4000

10111010

/

/

/

/

40

/

/

/

MOV DX, 40h

00

 

MOV ARRAY[SI], AX

Merci de répondre à tous les éléments de la question.
View this question

Activity:

if the possible operation codes are 100010dw or 1011wreg and DS=CS=SS=073F, AX=0210, BX=0400, CX=4587, SI=0002, DI=0008, BP=0100, ARRAY=0100 and ARRAY contains BA

  • Complete the following table by giving the logical and physical addresses, the memory space content after execution of the instruction and the machine code/instruction's different code fields and operand values of the defined first code segment instructions.
  • Give the offset, the immediate value, addresses and content in hexadecimal. The explicit operation code and addressing mode value should be in binary.
  • If the part is not needed, you must indicate it by a slash / , as in the given example.
  • Transcribe your answers in uppercase letters.

Machine Code

Operation Code

Addressing Mode

Offset

(in HEXA)

Value

(in HEXA)

Log @

Seg_num:Offset

Phy @

Memory Content

Instruction

MO

REG

REG/M

ex: BA4000

10111010

/

/

/

/

40

/

/

/

MOV DX, 40h

00

8A160001

Merci de répondre à tous les éléments de la question.
View this question

Activity:

if the possible operation codes are 100010dw or 1011wreg and DS=CS=SS=073F, AX=0210, BX=0400, CX=4587, SI=0002, DI=0008, BP=0100, Array=0100 and ARRAY contains BA

  • Complete the following table by giving the logical and physical addresses, the memory space content after execution of the instruction and the machine code/instruction's different code fields and operand values of the defined first code segment instructions.
  • Give the offset, the immediate value, addresses and content in hexadecimal. The explicit operation code and addressing mode value should be in binary.
  • If the part is not needed, you must indicate it by a slash / , as in the given example.
  • Transcribe your answers in uppercase letters.

Machine Code

Operation Code

Addressing Mode

Offset

(in HEXA)

Value

(in HEXA)

Log @

Seg_num:Offset

Phy @

Memory Content

Instruction

MO

REG

REG/M

ex: BA4000

10111010

/

/

/

/

40

/

/

/

MOV DX, 40h

00

MOV [BP], CX

View this question

Want instant access to all verified answers on esiclass.esi.dz?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!