الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

أكتب أسيمبلي بالبايثون

بدأه محمد سمير في 12 سبتمبر 2009 · 2 رد · 818 مشاهدة · في لغة Python
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكــم ورحمـة الله وبركاتــه

أثناء تصفحي ويب وقع تحت يدي هذا المشروع لعمل مترجم يترجم كود بايثون لأسيمبلي.

http://www.corepy.org/

المشروع في الإصدارة الأولى لكنه لا يدعم إلا 32 بت فقط حالياً.

الآن مبرمج بايثون يستطيع كتابة برنامجه إلي منصة جافا أو دوت نت كما يمكنه من ترجمة كوده إلى كود C++  و أسيمبلي ناهيك عن إستدعاء مكتبات مكتوبة ب C/C++ و fortran بكل سهولة. 

سبحانك اللهم و بحمدك ، أشهد أن لا إله إلا أنت ، أستغفرك ربي و أتوب إليك

مدونتي

http://www.facebook.com/brmjt

#2

السلام عليكم

بعد مراجعة الوثائق الخاصة بالمشروع وجدت أنه يعمل مع أنظمة 64 بت أيضاً.

http://www.corepy.org/wiki/index.php?title=CorePy_Basics

لمزيد من المعلومات:

http://www.corepy.org/wiki/index.php?title...y_Documentation

اقتباس

New Features

Upcoming Release:

Support for ATI CAL-based GPUs; see CorePy_CAL for more information

ExtArray now supports slicing, e.g. x[4:8]

New Memory allocator code by Mark Jeffree; used by new {acquire,release}_localstore() SPU stream methods

New implementation of extarray using Python C API instead of SWIG for improved performance

Fix incorrect operands for a few x86/x86_64 instructions

Initial iterators for x86/x86_64

New/improved load_float() and load_double() routines on x86_64

More optimal encoding for certain addressing modes on x86/x86_64

New InstructionStream.get_unique_label() method creates a unique label

InstructionStream.add_storage() supports storing key/value pairs, and retrieving values given a key with get_storage()

New routines for sending mailbox messages and signals between SPUs (mem_write_in_mbox(), mem_write_signal())

Support for changing the SPU signal mode

Communicate with an SPU via problem state when possible; improves mailbox/signal performance

Add an optional keyword argument to allow for VMX pro/epilogue code to be disabled (Thanks to Alex Holkner)

Improved CPU detection for OS X (Thanks to Alex Holkner)

Miscellaneous small bugfixes, code cleanups, and performance improvements

CorePy 1.0 (SC08 Release) 11/18/08:

x86 support, including 32/64bit and all current MMX/SSE extensions

Support for assembly-style labels as branch targets

Extended Array class for contiguous, page-aligned memory and Linux huge-page support

Printer class & supporting sub-classes for printing of instruction streams in various formats

New SPU interactive debugger

New SPU platform spufs eliminates libspe dependency; libspe1 now deprecated

High level SPU DMA utility routines

Altered semantics for returning values from SPU InstructionStreams.

كالمعتاد إن أخطأت فصوبوني.

جزاكم الله خيراً

تم تعديل هذه المشاركة بواسطة محمد سمير في 12 سبتمبر 2009 في 07:57

سبحانك اللهم و بحمدك ، أشهد أن لا إله إلا أنت ، أستغفرك ربي و أتوب إليك

مدونتي

http://www.facebook.com/brmjt

#3

الف شكر ...... اخي الكريم

oracle@arabdb.org

مواضيع مشابهة