math.answers.com/math-and-arithmetic/Assembly_language_programme_8051_convert_degree_to_Fahrenheit

Preview meta tags from the math.answers.com website.

Linked Hostnames

8

Thumbnail

Search Engine Appearance

Google

https://math.answers.com/math-and-arithmetic/Assembly_language_programme_8051_convert_degree_to_Fahrenheit

Assembly language programme 8051 convert degree to Fahrenheit? - Answers

## temp.a ask user for temperature in Celsius, ## convert to Fahrenheit, print the result. ## ## v0 - reads in celsius ## t0 - holds Fahrenheit result ## a0 - points to output strings ## ################################################# # # # text segment # # # ################################################# .text .globl __start __start: la $a0,prompt # print prompt on terminal li $v0,4 syscall li $v0,5 # syscall 5 reads an integer syscall mul $t0,$v0,9 # to convert,multiply by 9, div $t0,$t0,5 # divide by 5,then add $t0,$t0,32 # add 32 la $a0,ans1 # print string before result li $v0,4 syscall move $a0,$t0 # print result li $v0,1 syscall la $a0,endl # system call to print li $v0,4 # out a newline syscall li $v0,10 syscall # au revoir... ################################################# # # # data segment # # # ################################################# .data prompt: .asciiz "Enter temperature (Celsius): " ans1: .asciiz "The temperature in Fahrenheit is " endl: .asciiz "\n" ## ## end of file temp.a



Bing

Assembly language programme 8051 convert degree to Fahrenheit? - Answers

https://math.answers.com/math-and-arithmetic/Assembly_language_programme_8051_convert_degree_to_Fahrenheit

## temp.a ask user for temperature in Celsius, ## convert to Fahrenheit, print the result. ## ## v0 - reads in celsius ## t0 - holds Fahrenheit result ## a0 - points to output strings ## ################################################# # # # text segment # # # ################################################# .text .globl __start __start: la $a0,prompt # print prompt on terminal li $v0,4 syscall li $v0,5 # syscall 5 reads an integer syscall mul $t0,$v0,9 # to convert,multiply by 9, div $t0,$t0,5 # divide by 5,then add $t0,$t0,32 # add 32 la $a0,ans1 # print string before result li $v0,4 syscall move $a0,$t0 # print result li $v0,1 syscall la $a0,endl # system call to print li $v0,4 # out a newline syscall li $v0,10 syscall # au revoir... ################################################# # # # data segment # # # ################################################# .data prompt: .asciiz "Enter temperature (Celsius): " ans1: .asciiz "The temperature in Fahrenheit is " endl: .asciiz "\n" ## ## end of file temp.a



DuckDuckGo

https://math.answers.com/math-and-arithmetic/Assembly_language_programme_8051_convert_degree_to_Fahrenheit

Assembly language programme 8051 convert degree to Fahrenheit? - Answers

## temp.a ask user for temperature in Celsius, ## convert to Fahrenheit, print the result. ## ## v0 - reads in celsius ## t0 - holds Fahrenheit result ## a0 - points to output strings ## ################################################# # # # text segment # # # ################################################# .text .globl __start __start: la $a0,prompt # print prompt on terminal li $v0,4 syscall li $v0,5 # syscall 5 reads an integer syscall mul $t0,$v0,9 # to convert,multiply by 9, div $t0,$t0,5 # divide by 5,then add $t0,$t0,32 # add 32 la $a0,ans1 # print string before result li $v0,4 syscall move $a0,$t0 # print result li $v0,1 syscall la $a0,endl # system call to print li $v0,4 # out a newline syscall li $v0,10 syscall # au revoir... ################################################# # # # data segment # # # ################################################# .data prompt: .asciiz "Enter temperature (Celsius): " ans1: .asciiz "The temperature in Fahrenheit is " endl: .asciiz "\n" ## ## end of file temp.a

  • General Meta Tags

    22
    • title
      Assembly language programme 8051 convert degree to Fahrenheit? - Answers
    • charset
      utf-8
    • Content-Type
      text/html; charset=utf-8
    • viewport
      minimum-scale=1, initial-scale=1, width=device-width, shrink-to-fit=no
    • X-UA-Compatible
      IE=edge,chrome=1
  • Open Graph Meta Tags

    7
    • og:image
      https://st.answers.com/html_test_assets/Answers_Blue.jpeg
    • og:image:width
      900
    • og:image:height
      900
    • og:site_name
      Answers
    • og:description
      ## temp.a ask user for temperature in Celsius, ## convert to Fahrenheit, print the result. ## ## v0 - reads in celsius ## t0 - holds Fahrenheit result ## a0 - points to output strings ## ################################################# # # # text segment # # # ################################################# .text .globl __start __start: la $a0,prompt # print prompt on terminal li $v0,4 syscall li $v0,5 # syscall 5 reads an integer syscall mul $t0,$v0,9 # to convert,multiply by 9, div $t0,$t0,5 # divide by 5,then add $t0,$t0,32 # add 32 la $a0,ans1 # print string before result li $v0,4 syscall move $a0,$t0 # print result li $v0,1 syscall la $a0,endl # system call to print li $v0,4 # out a newline syscall li $v0,10 syscall # au revoir... ################################################# # # # data segment # # # ################################################# .data prompt: .asciiz "Enter temperature (Celsius): " ans1: .asciiz "The temperature in Fahrenheit is " endl: .asciiz "\n" ## ## end of file temp.a
  • Twitter Meta Tags

    1
    • twitter:card
      summary_large_image
  • Link Tags

    16
    • alternate
      https://www.answers.com/feed.rss
    • apple-touch-icon
      /icons/180x180.png
    • canonical
      https://math.answers.com/math-and-arithmetic/Assembly_language_programme_8051_convert_degree_to_Fahrenheit
    • icon
      /favicon.svg
    • icon
      /icons/16x16.png

Links

58