![]() |
|
論壇說明 | 標記討論區已讀 |
歡迎您來到『史萊姆論壇』 ^___^ 您目前正以訪客的身份瀏覽本論壇,訪客所擁有的權限將受到限制,您可以瀏覽本論壇大部份的版區與文章,但您將無法參與任何討論或是使用私人訊息與其他會員交流。若您希望擁有完整的使用權限,請註冊成為我們的一份子,註冊的程序十分簡單、快速,而且最重要的是--註冊是完全免費的! 請點擊這裡:『註冊成為我們的一份子!』 |
|
主題工具 | 顯示模式 |
![]() |
#1 |
註冊會員
|
![]() 請問這是什麼意思...我剛學...連編譯器都看不懂怎麼用...
星期五12/9 要交作業了...拜託幫個忙吧.. ![]() .data x1 QWORD 0A02B000190008400h x2 QWORD 0800187008000A904h sum BYTE 9 DUP(?) 1. Write an assembly program to do an extended addition of two integers 2. You may assume that the two integers are unsigned 3. Use the DumpMem (described in textbook pages 141-146) in Irvine32.inc to display the sum. 4. Note that the integers are stored in little-endian order in the memory. 5. The instructions that may be used : (1.)ADC : Add with carry flag, for example: ADC dest source ; dest = dest + source + CF (2.)CLC : Clear Carry Flag, means Set CF = 0 (3.)STC : Set Carry Flag, means Set CF = 1 |
![]() |
送花文章: 23,
![]() |