logo

Crowdly

Introduction au système d'exploitation 2

Шукаєте відповіді та рішення тестів для Introduction au système d'exploitation 2? Перегляньте нашу велику колекцію перевірених відповідей для Introduction au système d'exploitation 2 в esiclass.esi.dz.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

  • Codify the remaining code instructions by specifying the different fields and the resulting machine code
Guidelines:

  1. The opcode and the @mode should be given in binary.
  2. The offset, the value and the machine code must be given in hexadecimal. Do not include the H of hexadecimal in the answer
  3. Put just a slash '/' in the unneeded fields.
  4. 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

            assume                        DS:data, CS:code

            .radix               0A

start:    mov                 ax, data

            mov                 DS, ax

            lea                 bx, c

            mov                 di, 16

            mov                 cx, 3

for:       mov                 si, 0

            mov                 ax, word ptr c[di]

            add                 [bx+si], ax

            mov                 si, 2

            cwd                 

            adc                 [bx+si], dx

            add                di, 2

            add                bx, 4

            loop               for

            mov                 ah,4ch

            int                    33

code    ends                            

            end                  start

INSTRUCTION

CODOP

MOD

DEPL.

VALEUR

CODE

for:    mov     

si, 0

10111110

/

/

0000

BE0000

...

...

...

...

...

...

add                di, 2

10000011

11000111

/

02

83C702

add                bx, 4

10000011

11000011

/

04

83C304

loop for

mov       ah,4ch

1011 0100

/

/

4C

B4 4C

int          33

 

1100 1101

/

/

21

CD 21

Переглянути це питання

  • Codify the remaining code instructions by specifying the different fields and the resulting machine code
Guidelines:

  1. The opcode and the @mode should be given in binary.
  2. The offset, the value and the machine code must be given in hexadecimal. Do not include the H of hexadecimal in the answer
  3. Put just a slash '/' in the unneeded fields.
  4. 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

            assume                        DS:data, CS:code

            .radix               0A

start:    mov                 ax, data

            mov                 DS, ax

            lea                 bx, c

            mov                 di, 16

            mov                 cx, 3

for:       mov                 si, 0

            mov                 ax, word ptr c[di]

            add                 [bx+si], ax

            mov                 si, 2

            cwd                 

            adc                 [bx+si], dx

            add                di, 2

            add                bx, 4

            loop               for

            mov                 ah,4ch

            int                    33

code    ends                            

            end                  start

INSTRUCTION

CODOP

MOD

DEPL.

VALEUR

CODE

for: mov      si, 0

10111110

/

/

0000

BE0000

adc         [bx+si], dx

Переглянути це питання

  • Codify the remaining code instructions by specifying the different fields and the resulting machine code
Guidelines:

  1. The opcode and the @mode should be given in binary.
  2. The offset, the value and the machine code must be given in hexadecimal. Do not include the H of hexadecimal in the answer
  3. Put just a slash '/' in the unneeded fields.
  4. 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

            assume                        DS:data, CS:code

            .radix               0A

start:    mov                 ax, data

            mov                 DS, ax

            mov                 bx, 16

            mov                 cx, 3

for:       mov                 si, 0

            mov                 ax, word ptr c[di]

            add                 [bx+si], ax

            mov                 si, 2

            cwd                 

            adc                [bx+si], dx

            add                di, 2

            add                bx, 4

            loop               for

            mov                 ah,4ch

            int                    33

code    ends                            

            end                  start

INSTRUCTION

CODOP

MOD

DEPL.

VALEUR

CODE

for: mov      si, 0

10111110

/

/

0000

BE0000

cwd

Переглянути це питання

  • Codify the remaining code instructions by specifying the different fields and the resulting machine code
Guidelines:

  1. The opcode and the @mode should be given in binary.
  2. The offset, the value and the machine code must be given in hexadecimal. Do not include the H of hexadecimal in the answer
  3. Put just a slash '/' in the unneeded fields.
  4. 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

            assume                        DS:data, CS:code

            .radix               0A

start:    mov                 ax, data

            mov                 DS, ax

            mov                 bx, 16

            mov                 cx, 3

for:       mov                 si, 0

            mov                 ax, word ptr c[di]

            add                 [bx+si], ax

            mov                 si, 2

            cwd                 

            adc                 [bx+si], dx

            add                di, 2

            add                bx, 4

            loop               for

            mov                 ah,4ch

            int                    33

code    ends                            

            end                  start

INSTRUCTION

CODOP

MOD

DEPL.

VALEUR

CODE

for: mov      si, 0

10111110

/

/

0000

BE0000

mov     si, 2

Переглянути це питання

  • Codify the remaining code instructions by specifying the different fields and the resulting machine code
Guidelines:

  1. The opcode and the @mode should be given in binary.
  2. The offset, the value and the machine code must be given in hexadecimal. Do not include the H of hexadecimal in the answer
  3. Put just a slash '/' in the unneeded fields.
  4. 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

            assume                        DS:data, CS:code

            .radix               0A

start:    mov                 ax, data

            mov                 DS, ax

            mov                 bx, 16

            mov                 cx, 3

for:       mov                 si, 0

            mov                 ax, word ptr c[di]

            add                 [bx+si], ax

            mov                 si, 2

            cwd                 

            adc                 [bx+si], dx

            add                di, 2

            add                bx, 4

            loop               for

            mov                 ah,4ch

            int                    33

code    ends                            

            end                  start

INSTRUCTION

CODOP

MOD

DEPL.

VALEUR

CODE

for: mov      si, 0

10111110

/

/

0000

BE0000

add           [bx+si], ax

Переглянути це питання

  • Codify the remaining code instructions by specifying the different fields and the resulting machine code
Guidelines:

  1. The opcode and the @mode should be given in binary.
  2. The offset, the value and the machine code must be given in hexadecimal. Do not include the H of hexadecimal in the answer
  3. Put just a slash '/' in the unneeded fields.
  4. 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

            assume                        DS:data, CS:code

            .radix               0A

start:    mov                 ax, data

            mov                 DS, ax

            lea                 bx, c

            mov                 di, 16

            mov                 cx, 3

for:       mov                 si, 0

            mov                 ax, word ptr c[di]

            add                 [bx+si], ax

            mov                 si, 2

            cwd                 

            adc                 [bx+si], dx

            add                di, 2

            add                bx, 4

            loop               for

            mov                 ah,4ch

            int                    33

code    ends                            

            end                  start

INSTRUCTION

CODOP

MOD

DEPL.

VALEUR

CODE

for: mov      si, 0

10111110

/

/

0000

BE0000

mov                ax, c[di]

Переглянути це питання

  • Define the final value of the registers and memory content modified by the execution of the code
Guidelines:

  1. Specify your answer using uppercase letters.
  2. The memory content values should be on 2 digits.
  3. 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

            assume                        DS:data, CS:code

            .radix               0A

start:    mov                 ax, data

            mov                 DS, ax

            lea                 bx, c

            mov                 di, 16

            mov                 cx, 3

for:       mov                 si, 0

            mov                 ax, word ptr c[di]

            add                 [bx+si], ax

            mov                 si, 2

            cwd                 

            adc                 [bx+si], dx

            add                di, 2

            add                bx, 4

            loop               for

            mov                 ah,4ch

            int                    33

code    ends                            

            end                  start

AX

BX

CX

DX

SI

DI

AH

AL

BH

BL

CH

CL

DH

DL

 H

 H

 H

 H

c

c+1

c+2

c+3

c+4

c+5

c+6

c+7

c+8

c+9

c+10

c+11

H

H

H

H

H

H

H

H

H

H

H

H

Переглянути це питання

  • If the start of stack segment is the logical address (0710:0000). Specify the 1st byte logical address of the data segment when the type is : Byte, Word, Dword, Para and Page
Guidelines:

  1. Specify your answer using uppercase letters.
  2. Each value, segment number or offset, must contain 4 hexadecimal digits. 
  3. The logical addresses must be given between parenthesis with a segment number and an offset ex. (0213:0003)

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

 

BYTE

WORD

DWORD

PARA

PAGE

1st byte logical address

Merci de répondre à tous les éléments de la question.
Переглянути це питання

  • If the start of stack segment is the logical address (0710:0000). Specify the 1st byte logical address of the data segment when the type is : Byte, Word, Dword, Para and Page
Guidelines:

  1. Specify your answer using uppercase letters.
  2. Each value, segment number or offset, must contain 4 hexadecimal digits. 
  3. The logical addresses must be given between parenthesis with a segment number and an offset ex. (0213:0003)

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

 

BYTE

WORD

DWORD

PARA

PAGE

1st byte logical address

Переглянути це питання

  • 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

Merci de répondre à tous les éléments de la question.
Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на esiclass.esi.dz?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!