Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is for my Machine and assembly language class. Im using Linux and my output must be a date in the form of month day,

This is for my Machine and assembly language class. Im using Linux and my output must be a date in the form of month day, year (January 1, 2000) and so far Ive only gotten the month and day to print. Any suggestions as to how I would get the year is very much appreciated.
image text in transcribed
image text in transcribed
Register use tart: initIO setEVT initF * Initialize (required for I/O) * Error handling routines * For floating point macros only 1ineout name lineout prompt linein buff cvta2 buff, #2 move.1 DO, D1 sub.1 #1,DI move.1 D1,D2 muis #11,D1 leamonths,A1 adda D1,A1 move.b 0 (A1),ans +0 move.b 1(A1), ans+1 move.b 2(A1),ans+2 move.b 3 (A1), ans+3 move.b 4 (A1), ans+4 move.b 5(A1),ans+5 move.b 6 (A1), ans+6 move.b 7 (A1), ans+7 move.b B(A1), ans+8 move.b 9 (A1), ans+9 move.b 10(A1), ans+10 lea muls adda D2,A2 elr.1 D3 move.b (A2),D3 days, 2 lea ans, A2 adda D3,2 move . b #' , , (A2 ) + move.bbuff+3, (A2)+ move.b buff+4, (A2)+ move.b (A2)+ move , b #, ,,(A2 ) + 1ineout put break * Terminate ezecution

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

describe and present a summary of data you have collected.

Answered: 1 week ago

Question

Show the properties and structure of allotropes of carbon.

Answered: 1 week ago

Question

a. How will the leader be selected?

Answered: 1 week ago