Jump to content
Perfect_GRegory

Πρόβλημα Assembly

Recommended Posts

Perfect_GRegory

ΚΑΛΗΜΕΡΑ. Ρε παιδιά, την αρχιτεκτονική την πέρασα, αλλά αυτή την άσκηση δεν την έλυσα και "ΕΔΩ" μου έχει κάτσει. Στον παρακάτω κώδικα υπάρχουν 4-6 λάθη (δεν θυμάμαι ακριβώς) Και η άσκηση ζητούσε να τα βρούμε. 

TITLE Thema1

INCLUDE irvine32.inc ;η βιβλιοθήκη που χρησιμοποιούμε σύμφωνα και με το βιβλίο


.data
myBytes1 BYTE 40h,30h,20h,10h
myWords1 WORD 22h,A1h,8Ah               ;Ας πούμε εδώ κατι δεν μ κωλάει.
myDoubles DWORD 124532A0h,2h,1234h,4h
myWords2 SWORD -9h,23h,9h
myBytes2 BYTE 55h

.code

main PROC

mov al,myBytes1+3                ;10
mov al,myBytes1+14                ;02
mov ax,myWords2                    ;f7ff
mov ax,OFFSET myWords2+3       ;LATHOOOSSS!!!
mov ax,myWords2+2              ;2300
mov ebx,OFFSET myWords2+5        ;00  ???
mov ax,[ebx]                    ;5500
mov edx,OFFSET myDoubles        ;A0324521
lea edi,[edx+4]
mov eax,[edi]

mov eax,[esi]

main ENDP
END main

Αχ ρε παιδιά έκανα μια προσπάθια αλλά δεν την παλέβω. Όποιος μπορεί ας πει ό,τι ξέρει. 

Share this post


Link to post
Share on other sites

Δημιουργήστε ένα λογαριασμό ή συνδεθείτε προκειμένου να το δείτε

Πρέπει να είστε μέλος για να μπορέσετε να αφήσετε κάποιο σχόλιο

Δημιουργία λογαριασμού

Κάντε μια δωρεάν εγγραφή στην κοινότητά μας. Η εγγραφές μας είναι εύκολες.!

Εγγραφή τώρα

Σύνδεση

Εάν έχετε ήδη λογαριασμό σε αυτό το Forum; Συνδεθείτε εδώ.

Συνδεθείτε τώρα

  • Μηνύματα

    • dichvusocks
      Payment Instantly perfectmoney, bitcoin, wmtransfer, wex, ETH (Please click Buy Socks)
      Update Tools Client Dichvusocks.us http://dichvusocks.us/tools.php Link check socks http://check.dichvusocks.us/
      LIVE | 50.63.153.173:24960 | 0.15 | Arizona | 85260 | ip-50-63-153-173.ip.secureserver.net | United States | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 95.110.227.5:53773 | 0.66 | Toscana | 52100 | host5-227-110-95.serverdedicati.aruba.it | Italy | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 27.116.51.76:6667 | 1.01 | Unknow | Unknow | N/A | India | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 91.142.208.125:40045 | 0.61 | Madrid | 28001 | tangerinrestore.vservers.es | Spain | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 37.187.4.181:443 | 0.54 | Unknow | Unknow | ks3367480.kimsufi.com | France | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 103.216.82.30:6667 | 1.02 | Gujarat | 395006 | N/A | India | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 91.122.14.44:57684 | 0.75 | Saint Petersburg City | 190923 | ppp91-122-14-44.pppoe.avangarddsl.ru | Russian Federation | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 188.120.253.251:58832 | 0.67 | Unknow | Unknow | icecream-studio.ru | Russian Federation | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 78.155.219.48:8000 | 0.7 | Moscow City | 102487 | N/A | Russian Federation | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 78.46.140.2:443 | 0.56 | Unknow | Unknow | static.2.140.46.78.clients.your-server.de | Germany | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 46.101.165.185:8124 | 0.6 | Slough | EC2V | N/A | United Kingdom | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 95.110.229.22:44423 | 0.6 | Toscana | 52100 | www.freestyleweb.it | Italy | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 45.76.98.55:443 | 0.47 | Tokyo | 143-0006 | kolegov1.itgmail.com.nbrz.ru | Japan | Blacklist: No | Checked at http://dichvusocks.us
      LIVE | 146.252.241.88:54948 | 0.17 | Virginia | 20149 | N/A | United States | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 150.129.171.51:6667 | 1.16 | Gujarat | 364710 | N/A | India | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 95.110.224.30:13728 | 1.64 | Toscana | 52100 | ecommerce.eniaweb.com | Italy | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 150.129.52.75:6667 | 1.07 | Gujarat | 394601 | N/A | India | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 119.28.191.18:7070 | 0.71 | Beijing | Unknow | N/A | China | Blacklist: Yes | Checked at http://dichvusocks.us
    • vn5socks.net
      LIVE ~ 138.197.150.166:9050 | 0.227 | Wilmington | DE | 19880 | United States | Checked at vn5socks.net
      LIVE ~ 192.169.140.162:12685 | 0.19 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
      LIVE ~ 91.219.31.254:2018 | 0.297 | Unknown | Unknown | Unknown | Ukraine | Checked at vn5socks.net
      LIVE ~ 192.169.140.74:36280 | 0.194 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
      LIVE ~ 95.213.130.42:8181 | 0.343 | Unknown | Unknown | Unknown | Russian Federation | Checked at vn5socks.net
      LIVE ~ 132.148.129.183:56938 | 0.391 | Minneapolis | MN | 55488 | United States | Checked at vn5socks.net
      LIVE ~ 23.94.99.87:2018 | 0.264 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
      LIVE ~ 91.206.30.205:3129 | 0.29 | Unknown | Unknown | Unknown | Ukraine | Checked at vn5socks.net
      LIVE ~ 50.63.153.173:6176 | 0.188 | Scottsdale | AZ | 85260 | United States | Checked at vn5socks.net
      LIVE ~ 216.47.216.113:25856 | 0.258 | Dothan | AL | 36305 | United States | Checked at vn5socks.net
      LIVE ~ 192.169.138.184:35878 | 0.185 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
      LIVE ~ 23.94.99.85:2018 | 0.235 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
      LIVE ~ 23.95.90.229:2018 | 0.247 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
      LIVE ~ 64.90.51.101:46110 | 0.151 | Brea | CA | 92821 | United States | Checked at vn5socks.net
      LIVE ~ 23.95.90.159:2018 | 0.234 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
      LIVE ~ 69.89.101.16:7936 | 0.224 | Lansing | MI | 48915 | United States | Checked at vn5socks.net
      LIVE ~ 173.199.249.239:45824 | 0.268 | North Miami Beach | FL | 33160 | United States | Checked at vn5socks.net
      LIVE ~ 64.90.51.101:24190 | 0.164 | Brea | CA | 92821 | United States | Checked at vn5socks.net
       
    • shopsocks5.com
      [Shopsocks5.com] Service Socks5 Cheap
      Payment Instantly Perfectmoney, Bitcoin, Wmtransfer, BTC-E ( Please click Buy Socks )
      Check Socks Online  http://shopsocks5.com/check/




        Live | 146.252.241.88:54948 | United States | Tustin | CA | 92681 | Checked at Shopsocks5.com Live | 204.42.255.250:13264 | United States | Englewood | CO | 80111 | Checked at Shopsocks5.com Live | 94.177.170.43:6673 | Italy | Arezzo | 16 | 52100 | Checked at Shopsocks5.com Live | 78.155.219.48:8000 | Russia | Unknown | Unknown | Unknown | Checked at Shopsocks5.com Live | 94.177.170.43:53288 | Italy | Arezzo | 16 | 52100 | Checked at Shopsocks5.com Live | 37.187.4.181:443 | France | Unknown | Unknown | Unknown | Checked at Shopsocks5.com Live | 172.84.125.59:33889 | Unknown | Unknown | Unknown | Unknown | Checked at Shopsocks5.com Live | 98.174.90.36:14474 | United States | Unknown | Unknown | Unknown | Checked at Shopsocks5.com Live | 80.211.29.123:7759 | Denmark | Unknown | Unknown | Unknown | Checked at Shopsocks5.com Live | 42.112.20.116:7200 | Vietnam | Hanoi | 44 | Unknown | Checked at Shopsocks5.com Live | 95.213.130.42:8181 | Russia | Unknown | Unknown | Unknown | Checked at Shopsocks5.com Live | 94.177.170.43:32949 | Italy | Arezzo | 16 | 52100 | Checked at Shopsocks5.com Live | 91.206.30.205:3129 | Ukraine | Kiev | 12 | Unknown | Checked at Shopsocks5.com Live | 172.84.124.46:56037 | Unknown | Unknown | Unknown | Unknown | Checked at Shopsocks5.com Live | 185.236.36.14:2080 | Unknown | Unknown | Unknown | Unknown | Checked at Shopsocks5.com Live | 176.104.1.244:39445 | Ukraine | Unknown | Unknown | Unknown | Checked at Shopsocks5.com
    • dichvusocks
      Payment Instantly perfectmoney, bitcoin, wmtransfer, wex, ETH (Please click Buy Socks)
      Update Tools Client Dichvusocks.us http://dichvusocks.us/tools.php Link check socks http://check.dichvusocks.us/
      LIVE | 50.63.153.173:46311 | 0.12 | Arizona | 85260 | ip-50-63-153-173.ip.secureserver.net | United States | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 80.211.29.123:7759 | 0.66 | Toscana | 52100 | host123-29-211-80.serverdedicati.aruba.it | Italy | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 172.84.125.59:33889 | 1.1 | New Jersey | 07311 | N/A | United States | Blacklist: No | Checked at http://dichvusocks.us
      LIVE | 91.142.208.125:40045 | 0.62 | Madrid | 28001 | tangerinrestore.vservers.es | Spain | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 125.227.69.217:3351 | 0.99 | Unknow | Unknow | | Unknow | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 78.155.219.48:8000 | 0.73 | Moscow City | 102487 | N/A | Russian Federation | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 192.169.140.162:57835 | 1.4 | Arizona | 85260 | ip-192-169-140-162.ip.secureserver.net | United States | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 150.107.243.26:6667 | 1.47 | Gujarat | 385535 | N/A | India | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 188.120.246.40:37985 | 0.78 | Irkutsk | 664000 | mhost2.ispserver.com | Russian Federation | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 46.105.57.149:10692 | 0.58 | Unknow | Unknow | ns3099982.ovh.net | France | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 27.116.51.178:6667 | 1.1 | Gujarat | 383205 | N/A | India | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 178.32.142.155:56747 | 0.58 | Nord-Pas-de-Calais | 59120 | ns304833.ip-94-23-214.eu | France | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 91.122.14.44:57684 | 0.74 | Saint Petersburg City | 190923 | ppp91-122-14-44.pppoe.avangarddsl.ru | Russian Federation | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 89.46.222.101:56987 | 0.7 | Unknow | Unknow | foss8.datechating24.com | Philippines | Blacklist: No | Checked at http://dichvusocks.us
      LIVE | 157.119.207.13:6667 | 1.08 | Maharashtra | 415001 | N/A | India | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 94.177.170.43:53288 | 0.63 | Unknow | Unknow | | Unknow | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 192.169.182.200:59334 | 0.74 | Arizona | 85260 | ip-192-169-182-200.ip.secureserver.net | United States | Blacklist: Yes | Checked at http://dichvusocks.us
      LIVE | 91.206.30.204:3129 | 0.67 | Kyyiv | 03057 | d976979.freehost.com.ua | Ukraine | Blacklist: Yes | Checked at http://dichvusocks.us
       
    • vn5socks.net
      LIVE ~ 66.181.166.140:6667 | 0.084 | Atlanta | GA | 30318 | United States | Checked at vn5socks.net
      LIVE ~ 107.151.139.187:2016 | 0.182 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
      LIVE ~ 12.90.33.234:47703 | 0.188 | San Jose | CA | Unknown | United States | Checked at vn5socks.net
      LIVE ~ 192.169.140.162:57835 | 0.193 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
      LIVE ~ 176.37.121.85:2580 | 0.296 | Unknown | Unknown | Unknown | Ukraine | Checked at vn5socks.net
      LIVE ~ 162.223.88.232:2020 | 0.245 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
      LIVE ~ 91.219.31.254:2018 | 0.311 | Unknown | Unknown | Unknown | Ukraine | Checked at vn5socks.net
      LIVE ~ 91.231.87.174:5055 | 0.307 | Unknown | Unknown | Unknown | Ukraine | Checked at vn5socks.net
      LIVE ~ 61.19.212.187:47443 | 0.084 | Unknown | Unknown | Unknown | Thailand | Checked at vn5socks.net
      LIVE ~ 54.38.137.147:9951 | 0.26 | Woodbridge | NJ | 07095 | United States | Checked at vn5socks.net
      LIVE ~ 216.54.3.252:27723 | 0.272 | Unknown | Unknown | Unknown | United States | Checked at vn5socks.net
      LIVE ~ 75.151.213.85:3366 | 0.341 | Jackson | MS | Unknown | United States | Checked at vn5socks.net
      LIVE ~ 18.206.37.93:47443 | 0.25 | Cambridge | MA | 02139 | United States | Checked at vn5socks.net
      LIVE ~ 78.26.207.173:30013 | 0.36 | Unknown | Unknown | Unknown | Ukraine | Checked at vn5socks.net
      LIVE ~ 185.126.181.140:5050 | 0.281 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
      LIVE ~ 132.148.129.183:56938 | 0.351 | Minneapolis | MN | 55488 | United States | Checked at vn5socks.net
      LIVE ~ 185.126.181.140:5055 | 0.299 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
      LIVE ~ 45.55.169.78:64486 | 0.239 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
×