Bài tập kĩ thuật vi xử lý assembly năm 2024

  • About
  • Blog
  • Projects
  • Help
  • Donate Donate icon An illustration of a heart shape
  • Contact
  • Jobs
  • Volunteer
  • People

Bookreader Item Preview

Addeddate 2021-02-09 13:29:05 Filename 47387886-Lap-Trinh-Assembly.pdf Identifiergtr.kythuatvixulyvalaptrinhassemblychohevixuly Identifier-ark ark:/13960/t9s283w3g Ocr tesseract 4.1.1 Ocr_detected_lang vi Ocr_detected_lang_conf 1.0000 Ocr_detected_script Latin Ocr_detected_script_conf 1.0000 Ocr_module_version 0.0.11 Ocr_parameters -l vie Page_number_confidence 87.31

comment

Reviews

There are no reviews yet. Be the first one to write a review.

SIMILAR ITEMS (based on metadata)

Bài tập kĩ thuật vi xử lý assembly năm 2024

Bài t p kĩ thu t vi x lýậ ậ ử

Bài tập 2-4

(yêu cầu làm trên máy tính và in mã nguồn cùng kết quả chạy chương trình)

.Hãy viết chương trình assembly cho 8086 thực hiện 3 bước:

  1. Nhập số N (N nguyên dương, N <=9) từ bàn phím
  1. Tính S=13 + 23 +33 +43+…+N3(10 điểm)
  1. Đưa kết quả ra màn hình (5 điểm)
  1. Kích thước các biến N, S là bao nhiêu để có thể thực hiện được bài toán
  1. Viết lưu đồ thuật toán
  1. Giả sử N=9, lập bảng tính toán giá trị của S sau mỗi vòng lặp (tính toán lý

thuyết)

  1. Viết code C cho bài toán này
  1. Viết code assembly
  1. Kiểm tra lại xem kết quả sau mỗi vòng lặp có khớp với kết quả ở câu c.
  1. Trong chương trình này em đã dùng các kỹ thuật gì để tối ưu hóa, làm cho

chương trình chạy nhanh hơn.

Bài làm

a,N<=9 => ta ch n N là 8 bit => đ N vào Al=> max N=2^8=256ọ ể

S ta l u vào AX=> max = 65536ư

Uploaded by

Man Ebook

0% found this document useful (0 votes)

245 views

133 pages

RealTEQ Club

Copyright

© © All Rights Reserved

Available Formats

PDF, TXT or read online from Scribd

Share this document

Did you find this document useful?

Is this content inappropriate?

0% found this document useful (0 votes)

245 views133 pages

Kỹ thuật Vi xử lý

Uploaded by

Man Ebook

RealTEQ Club

Jump to Page

You are on page 1of 133

Search inside document

Reward Your Curiosity

Everything you want to read.

Anytime. Anywhere. Any device.

No Commitment. Cancel anytime.

Bài tập kĩ thuật vi xử lý assembly năm 2024