From dd8e46fd1cee2dc90ecb904a04f99a6b70ad825f Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Tue, 16 Sep 2014 16:05:08 +0300 Subject: [PATCH] move length here --- lib/arm/constants.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/arm/constants.rb b/lib/arm/constants.rb index 87dd69b8..4392168e 100644 --- a/lib/arm/constants.rb +++ b/lib/arm/constants.rb @@ -113,5 +113,11 @@ module Arm end return op end + + # arm intrucioons are pretty sensible, and always 4 bytes (thumb not supported) + def length + 4 + end + end end \ No newline at end of file