Compare commits
1 Commits
e3b8847e24
...
b60c9a9a63
Author | SHA1 | Date |
---|---|---|
Shadowfacts | b60c9a9a63 |
|
@ -96,28 +96,6 @@ defmodule Assembler do
|
|||
end
|
||||
|
||||
{val, modes}
|
||||
# case type do
|
||||
# :write ->
|
||||
# {String.to_integer(param), modes}
|
||||
|
||||
# _ ->
|
||||
# cond do
|
||||
# String.starts_with?(param, "$") ->
|
||||
# {
|
||||
# param |> String.slice(1..-1) |> String.to_integer(),
|
||||
# modes
|
||||
# }
|
||||
|
||||
# Regex.match?(~r/\d+/, param) ->
|
||||
# {
|
||||
# String.to_integer(param),
|
||||
# modes + pow(10, index + 2)
|
||||
# }
|
||||
|
||||
# true ->
|
||||
# {{:label, param}, modes + pow(10, index + 2)}
|
||||
# end
|
||||
# end
|
||||
end)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue