Paste
Copy
Cut
Options

¡Tu solución está lista!

Nuestra ayuda de expertos desglosó tu problema en una solución confiable y fácil de entender.

Mira la respuesta
  • Pregunta: Write the following code segment in MARIE's assembly language: if x <= y then y y + 1; else if x != y - 1; else z + 1; Z then y = = Z

    student submitted image, transcription available below

    Muestra el texto de la transcripción de la imagen
  • Chegg Logo
    Esta es la mejor manera de resolver el problema.
    Solución
    100(1 calificación)
    Te mostramos cómo abordar esta pregunta.

    Start transcribing the C code to MARIE Assembly Code by first loading the value of 'x' into the Accumulator (AC).

    C code if x <= y then      y = y + 1 else if x != z     then y = y - 1; else z = z + 1 ---------------------------------------------- MARIE Assembly Code      Instruction            Comment     

    Mira la respuesta completa
    answer image blur
Texto de la transcripción de la imagen:
Write the following code segment in MARIE's assembly language: if x <= y then y y + 1; else if x != y - 1; else z + 1; Z then y = = Z